-
Notifications
You must be signed in to change notification settings - Fork 16
Add shortened links to install commands #1244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ This guide uses the first option. If you'd like to clone the repository and buil | |
Run this command to download and install the latest version of `docs-builder`: | ||
|
||
```sh | ||
sudo curl -L https://raw.githubusercontent.com/elastic/docs-builder/refs/heads/main/install.sh | sh | ||
sudo curl -sL https://ela.st/docs-builder-install | sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛑 If I'm honest, I'm rather concerned about this being a recommendation:
Looking up this pattern generally results in many articles such as https://lukespademan.com/blog/the-dangers-of-curlbash/ and https://security.stackexchange.com/questions/213401/is-curl-something-sudo-bash-a-reasonably-safe-installation-method and https://macarthur.me/posts/curl-to-bash/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand the concern (and thanks for the suggestion, I've already applied it). It's a popular debate. However:
See https://gnu.moe/wallofshame.md for counterarguments. Even Rust uses this method for local installs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've removed |
||
``` | ||
This downloads the latest binary, makes it executable, and installs it to your user PATH. | ||
|
||
|
@@ -58,7 +58,7 @@ To download and install the binary file manually, refer to [Releases](https://gi | |
Run this command to download and install the latest version of `docs-builder`: | ||
|
||
```powershell | ||
iex (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/elastic/docs-builder/refs/heads/main/install.ps1') | ||
iex (New-Object System.Net.WebClient).DownloadString('https://ela.st/docs-builder-install-win') | ||
``` | ||
|
||
This downloads the latest binary, makes it executable, and installs it to your user PATH. | ||
|
Uh oh!
There was an error while loading. Please reload this page.