Skip to content

Commit c394bf1

Browse files
author
bing
authored
update fuelup related instructions (#2099)
* update fuelup instructions * better instructions * better wording for modifying path
1 parent 91b8eee commit c394bf1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/src/introduction/installation.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,26 @@ Start by installing `fuelup` with:
1212

1313
```sh
1414
curl --proto '=https' --tlsv1.2 -sSf \
15-
https://fuellabs.github.io/fuelup/fuelup-init.sh | sh -s install
15+
https://fuellabs.github.io/fuelup/fuelup-init.sh | sh
1616
```
1717

18-
You may need to add `~/.fuelup/bin` to your PATH. For Bash:
18+
`fuelup-init` will ask for permission to add `~/.fuelup/bin` to your PATH. Otherwise, you can also pass `--no-modify-path` so that `fuelup-init` does not modify your PATH:
1919

2020
```sh
21-
export PATH="${HOME}/.fuelup/bin/:${PATH}"
21+
curl --proto '=https' --tlsv1.2 -sSf \
22+
https://fuellabs.github.io/fuelup/fuelup-init.sh | sh -s -- --no-modify-path
2223
```
2324

24-
Then run
25+
Once `fuelup` is installed, `fuelup-init` automatically runs the command below
2526

2627
```sh
27-
fuelup install
28+
fuelup toolchain install latest
2829
```
2930

30-
to install the latest Sway toolchain.
31+
to install the latest Sway toolchain.
32+
33+
You can run the same command at a later time to update the toolchain.
3134

32-
> **Note**: A `curl: (22) The requested URL returned error: 404` error when running any of the steps above is most likely an indication that a new release was published but binaries were not yet uploaded by CI. See: <https://github.com/FuelLabs/fuelup/issues/44>. Simply re-try the commands after binaries are uploaded.
3335

3436
## Installing from Source
3537

0 commit comments

Comments
 (0)