[![Crate](https://img.shields.io/crates/v/sugar-cli)](https://crates.io/crates/sugar-cli) [![Downloads](https://img.shields.io/crates/d/sugar-cli)](https://crates.io/crates/sugar-cli) [![Stars](https://img.shields.io/github/stars/metaplex-foundation/sugar?style=social)](https://img.shields.io/github/stars/metaplex-foundation/sugar?style=social) [![Forks](https://img.shields.io/github/forks/metaplex-foundation/sugar?style=social)](https://img.shields.io/github/forks/metaplex-foundation/sugar?style=social) [![Release](https://img.shields.io/github/v/release/metaplex-foundation/sugar)](https://img.shields.io/github/v/release/metaplex-foundation/sugar) [![Build and Release](https://github.com/metaplex-foundation/sugar/actions/workflows/build.yml/badge.svg)](https://github.com/metaplex-foundation/sugar/actions/workflows/build.yml) [![License](https://img.shields.io/crates/l/sugar-cli)](https://github.com/metaplex-foundation/sugar/blob/main/LICENSE) # Sugar: A Candy Machine CLI
Sugar is an alternative to the current Metaplex Candy Machine CLI. It has been written from the ground up and includes several improvements: - better performance for upload of media/metadata files and deploy of the candy machine — these operations take advantage of multithreaded systems to significantly speed up the computational time needed; - simplified build and installation procedures taking advantage of `cargo` package management, including a binary distributable package ready to use; - robust error handling and validation of inputs, including improvements to config and cache files, leading to more informative error messages. See [the docs](https://docs.metaplex.com/tools/sugar/introduction) for full installation and usage instructions. > **Note:** This is a beta release of Sugar. Use at your own risk. ## Installation ### Recommended Method For macOS, Linux and Windows Subsystem Linux (WSL), run the following install script in your terminal: ```bash bash <(curl -sSf https://sugar.metaplex.com/install.sh) ``` For Windows: Download [this installer binary](https://github.com/metaplex-foundation/winstaller/releases/latest/download/winstaller.exe) 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: > > ```bash > sudo apt install libudev-dev pkg-config unzip > ``` ### Developers Using Crates.io: ```bash cargo install miraplex-sugar-cli ``` Build From Source: ```bash cargo install --path ./ ``` ## Quick Start Set up your Miraland CLI config with an RPC url and a keypair: ```bash miraland config set --url