summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2022-03-08 15:47:54 -0500
committerGitHub <noreply@github.com>2022-03-08 15:47:54 -0500
commit48f1f756f8922e2c24b1ee638bd0b8a7ae4be9aa (patch)
tree59a09db539a3cc8c743d64ef46f864dcabb4bef0 /README.md
parent076a9e6b8e715fc200812f6a73a17a9764d45aba (diff)
fix: use shell-compatible curl install (#3691)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e75584c2e..44464cbc4 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: