You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/introduction/installation.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,24 +12,26 @@ Start by installing `fuelup` with:
12
12
13
13
```sh
14
14
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
16
16
```
17
17
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:
19
19
20
20
```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
22
23
```
23
24
24
-
Then run
25
+
Once `fuelup` is installed, `fuelup-init` automatically runs the command below
25
26
26
27
```sh
27
-
fuelup install
28
+
fuelup toolchain install latest
28
29
```
29
30
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.
31
34
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.
0 commit comments