Fluence provides developers with nodes, runtimes and tools to ease and accelerate the development of distributed networks, backends, and applications. In order to be able to utilize the Fluence support system, we need to install a few things on our machines.
If you don't have Rust installed, this is as good a time as any to do so:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and follow the instructions. Once Rust is in place, install Rust nightly and the Wasm tool chain:
rustup toolchain install nightlyrustup target add wasm32-wasi
In addition, install the Fluence REPL,
frepl, and CLI,
$ cargo install fcli --force$ cargo install +nightly install frepl --force
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bashnvm install --lts
which allows us to install the [Fluence Service Distribution and Management too](https://github.com/fluencelabs/proto-distributor),
npm install -g @fluencelabs/fldist
Throughout the tutorial you will be asked to copy AIR scripts and run them with the
fldist tool. In order to use this tool, you need to use the terminal. The repeat action is to copy an AIR script from this book to a file on your system and then run the file with
fldist in the terminal.
That's all we need to work through the examples. Let's get to it.