diff --git a/README.md b/README.md index e75584c2..44464cbc 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ Install Starship using any of the following package managers: Install the latest version for your system: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" +curl -sS https://starship.rs/install.sh | sh ``` Alternatively, install Starship using any of the following package managers: @@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers: Install the latest version for your system: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" +curl -sS https://starship.rs/install.sh | sh ``` Alternatively, install Starship using any of the following package managers: diff --git a/docs/README.md b/docs/README.md index ab227d60..dd16c17a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -39,8 +39,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p With Shell: ```sh - sh -c "$(curl -fsSL https://starship.rs/install.sh)" + curl -sS https://starship.rs/install.sh | sh ``` + To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration. #### Install via Package Manager diff --git a/docs/faq/README.md b/docs/faq/README.md index 00fcb359..b8ceb7af 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required". If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl +curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl ``` ## Why do I see `Executing command "..." timed out.` warnings? diff --git a/docs/installing/README.md b/docs/installing/README.md index 82274aa0..39fd25f7 100644 --- a/docs/installing/README.md +++ b/docs/installing/README.md @@ -36,7 +36,7 @@ pkg install getconf ### Installation ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin +curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin ``` ## [Funtoo Linux](https://www.funtoo.org/Welcome)