Cover photo

Installing Fuel Toolchain

Welcome here everyone,today I’ll tell you how to install Fuel Toolchain in just a minutes!After this guide you can easily start building your dApp on Fuel on the current Beta-4 testnet.

So before we start just one more clarification - I’ll be using a Linux and this guide is Linux-oriented. You can just install Linux as a separate OS , or rent a server, or , like in my case, run a Virtual Machine and install Linux on it! The link to download Ubuntu is here - it is absolutely free so you don’t need to worry about it!

For virtual Machine I’m using a VMware workstation,you can use any VM you like!

So let’s start

Open your terminal in Ubuntu

post image

1.1To begin with,we need to complete some installations&updates

sudo apt update && sudo apt upgrade -y

You’ll be asked to type your password

Then write

sudo apt-get install git-all

Press Y

And finally, let’s install the curl ,with which we will install Rust

sudo apt-get install curl

1.2 Installing Rust

We need to install Rust as toolchain is built on top of the Rust programming language.

To download Rust,just paste this command:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Press 1 to proceed default installation

After installation of Rust - you’ll need to re-open your terminal so you already will be able to use Rust.

1.3 Installing Fuel toolchain by fuelup

fuelup is the official Fuel package manager that makes it easy for you to switch to different toolchains.

So just run this program in terminal:

curl --proto '=https' --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh

You’ll be asked to modify your PATH

Press Y
Press Y

After the installation finishes,you should receive the following output

You can also see which fuelup version has been installed
You can also see which fuelup version has been installed

Now, you need to close&open your terminal again and check your fuelup version with

fuelup --version
As for the moment of writing this guide, the latest version is 0.19.5
As for the moment of writing this guide, the latest version is 0.19.5

For the further updates, use the command below to update fuelup

fuelup self update
post image

1.4 Installing Beta-4 toolchain

If the installation is successful you’ll receive that output

post image

And all you need to do now is to set beta-4 as your default toolchain

fuelup default beta-4
Beta-4 is now set as a default toolchain
Beta-4 is now set as a default toolchain

By running

fuelup show

You’ll see the toolchains version and versions of the all tools you are using

Btw you can see that Beta-4 is our default toolchain
Btw you can see that Beta-4 is our default toolchain

So thats it! As I’ve said at the beginning toolchain installation takes just a couple of minutes and I hope that you’ve made it!

But you may ask me: ‘What to do next?‘.From there you can try out deploying your first smart contract on Beta-4, luckily for you, I’ve already have a guide for that!

If you encounter some problems, errors or just have some questions about Beta-4 or Fuel - feel free to ask them on Fuel Forum.

See you in the next guide! <3