Installing
WARNING
The Sunodo CLI is deprecated in favor of the new Cartesi CLI tool. Please refer to the Cartesi documentation for the most up-to-date information. If you have a Sunodo application and need to migrate to a Cartesi CLI application refer to the migration guide.
The cartesi CLI tool can be installed on macOS and Linux, and on Windows using WSL.
System requirements
The CLI heavily uses Docker under the hood, so you must have it installed and up-to-date, along with the following plugins:
The highly recommended way to have all of these installed is to install Docker Desktop.
If not using Docker Desktop, Docker RISC-V support can be installed by running the following command:
docker run --privileged --rm tonistiigi/binfmt:riscvmacOS
MacOS Homebrew users can install sunodo with:
brew install cartesi/tap/cartesiUsers who don't use Homebrew should install Node.js and then install cartesi with:
npm install -g @cartesi/cliLinux
Linux users can either also use Homebrew on Linux, or install Node.js and then install cartesi with:
npm install -g @cartesi/cliINFO
Debian apt-get packages will be available soon.
Windows
Windows users are recommended to use Windows Subsystem for Linux and follow the Linux instructions above.