Install Shuttle

The cargo-shuttle CLI can be installed with a pre-built binary, from source with cargo, or with the install script.

Install script

The install script finds the optimal alternative below for installing the latest version on your OS, architecture and distro.

Run it on Linux and macOS with:

curl -sSfL https://www.shuttle.rs/install | bash

Or on Windows with:

iwr "https://www.shuttle.rs/install-win" | iex

Pre-built binary

Pre-built binaries of the cargo-shuttle CLI for most platforms can be found on our GitHub.

The binaries can also be installed using cargo-binstall, which will automatically download the correct binary for your system. To install with cargo-binstall, run:

cargo binstall cargo-shuttle

From source

Although a bit slower, you can also install directly with cargo:

cargo install cargo-shuttle
Installing cargo-shuttle from source requires Rust 1.75+. You can verify by running cargo --version.

Arch Linux

cargo-shuttle can be installed from the community repository using pacman:

pacman -S cargo-shuttle

This is a community package maintained by orhun.

Login

After installing, log in with:

cargo shuttle login

Once you’ve done this, you are good to go! To get up and running, proceed to our Quick Start page!