See the docs for full installation and usage instructions.
For macOS, Linux and Windows Subsystem Linux (WSL), run the following install script in your terminal:
bash <(curl -sSf https://sugar.metaplex.com/install.sh)
For Windows:
Download this installer binary and execute it. Since it is not a verified Windows binary you may have to choose "Run Anyway" from "More Info" on the pop-up Windows dialog.
Dependencies: When installing on Ubuntu or WSL (Windows Subsystem Linux), you may need to install some additional dependencies:
sudo apt install libudev-dev pkg-config unzip
Using Crates.io:
npm install -g pnpm
Pnpm add module
pnpm i
pnpm run dev