docs: update install instructions (#2553)

Use POSIX `sh`, mitigate possible timing attacks.
This commit is contained in:
Dario Vladović
2021-04-08 19:42:45 +02:00
committed by GitHub
parent 7a0046ed58
commit ea35359a09
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ shown below. Can't see yours? Have a look at the [extra platform instructions](h
##### From prebuilt binary, with Shell:
```sh
curl -fsSL https://starship.rs/install.sh | bash
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
```
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.