You can install the necessary components directly from official sources:
For precise control over versions, it's recommended to use the asdf tool version manager and follow the versions specified in .tool-versions
in this repository.
After installing asdf, add the required plugins for managing the tools:
asdf plugin add elixir
asdf plugin add erlang
asdf plugin add golang
asdf plugin add rust
asdf plugin add protoc
Finally, install the specific versions of these tools as specified in .tool-versions
:
asdf install
To create a sandbox environment with all the required tool chains, use Nix. Steps to get Nix working are as follows:
- Install Nix from the official website: https://nixos.org/download.
- To allow experimental features (nix develop and nix-command) you might need to do the following:
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes " > ~/.config/nix/nix.conf
Alternatively, for a smoother experience you can use the following script from Determinate Systems that takes care of setting up everything for you:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Check if Nix has been successfully installed:
nix --version
. - To launch the environment:
nix develop
.