-
Notifications
You must be signed in to change notification settings - Fork 715
install
AurelienFT edited this page Jun 3, 2022
·
11 revisions
THIS DOCUMENTATION IS NOT MAINTAINED ANYMORE. USE https://massa.readthedocs.io
Right now 4 cores and 8 GB of RAM should be enough to run a node, but it might increase in the future. More info in the FAQ.
If you just wish to run a Massa node without compiling it yourself, you can simply get the latest binary (download below and go the the next step: Running a node)
- Windows executable
- Linux binary - only works with libc2.28 at least (for example Ubuntu 20.04 and higher)
- MacOS binary
Otherwise, if you wish to run a Massa node from source code, here are the steps to follow:
- on Ubuntu, these libs must be installed:
sudo apt install pkg-config curl git build-essential libssl-dev
- install rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- configure path:
source $HOME/.cargo/env
- check rust version:
rustc --version
- install
nigthly:
rustup toolchain install nightly
- set it as default:
rustup default nightly
- check rust version:
rustc --version
- clone this repo:
git clone --branch testnet https://github.com/massalabs/massa.git
- On Windows, you should first follow the indications from Microsoft
to be able to run on a Rust environment
here.
- Install Visual Studio (recommended) or the Microsoft C++ Build Tools
- Once Visual Studio is installed, click on C++ Build Tool. Select
on the right column called "installation details" the following
packages:
- MSCV v142 -- VS 2019
- Windows 10 SDK
- C++ CMake tools for Windows
- Testing Tools Core Feature
- Click install on the bottom right to download & install those packages
- Install Rust, to be downloaded here
- Install Git for windows, to be downloaded here
-
Open Windows Power Shell
- To clone the latest distributed version, type:
git clone --branch testnet https://github.com/massalabs/massa.git
- To clone the latest distributed version, type:
-
Change default Rust to nightly
- Type:
rustup default nightly
- Type: