fuelup
installs the Fuel toolchain from our official release channels, enabling you to easily keep the toolchain updated.
Currently, this script supports Linux/macOS systems only. For other systems, please install from source.
Installation is simple: all you need is fuelup-init.sh
, which downloads the core Fuel binaries needed to get you started on development.
curl --proto '=https' --tlsv1.2 -sSf https://fuellabs.github.io/fuelup/fuelup-init.sh | sh
This will install forc
, forc-fmt
, forc-explore
, forc-lsp
as well as fuel-core
in ~/.fuelup/bin
. The script 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
and will not ask for permission to do so:
curl --proto '=https' --tlsv1.2 -sSf https://fuellabs.github.io/fuelup/fuelup-init.sh | sh -s -- --no-modify-path
In future, fuelup
will also let you switch between toolchains, allowing for a smooth developer experience while allowing you to have more flexibility, along with other features.
To install and update the latest toolchain:
fuelup toolchain install latest
To update fuelup
itself:
fuelup self update
To check for updates:
fuelup check
fuelup
uses channels to distribute Fuel toolchain binaries. Click here to read more about channels.
Apache License, Version 2.0, (LICENSE or https://www.apache.org/licenses/LICENSE-2.0)