Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install Move-Stylus CLI

Prerequisites

For Homebrew Installation (macOS/Linux)

No prerequisites are required.

For Building from Source

You need to have Rust and git installed on your machine.

Installation

Using Homebrew (macOS/Linux)

The easiest way to install the Move-Stylus CLI is using Homebrew:

brew tap rather-labs/move-stylus https://github.com/rather-labs/move-stylus 
brew install move-stylus

Building from Source

You can also install the Move-Stylus CLI by building it from source. You can do this by cloning the Move Stylus repository and using Cargo to build and install the CLI.

Cloning the Repository

git clone https://github.com/rather-labs/move-stylus/

Building and Installing the compiler and CLI

cd move-stylus
cargo install --locked --path crates/move-cli

Verify Installation

After the installation is complete, you can verify that the Move-Stylus CLI is installed correctly by checking its version:

move-stylus --version

You should see output similar to:

move-stylus 0.1.0

Note

You may need to restart your terminal or add Cargo’s bin directory to your PATH if the command is not found. The default location for Cargo’s bin directory is $HOME/.cargo/bin.