Skip to main content

Cedra CLI Installation Guide

The Cedra Command Line Interface (CLI) is the primary tool for developers and users to interact with the Cedra blockchain. It lets you manage accounts, deploy Move modules, test code, execute transactions, and query network state.

Next step: After installation, open a terminal and run cedra --version to confirm your setup, then explore the CLI guide for all available commands.

Installation

  1. Visit the Cedra CLI v1.0.0 release page: https://github.com/cedra-labs/cedra-network/releases/tag/cedra-cli-v1.0.0.
  2. In the Assets section, choose the file that matches your platform:
OSArchitectureFile name
Linuxx86_64cedra-cli-1.0.0-Linux-x86_64.zip
Linuxaarch64cedra-cli-1.0.0-Linux-aarch64.zip
macOSx86_64cedra-cli-1.0.0-macOS-x86_64.zip
macOSarm64 (Apple Silicon)cedra-cli-1.0.0-macOS-arm64.zip
Ubuntu 22.04x86_64cedra-cli-1.0.0-Ubuntu-22.04-x86_64.zip
Ubuntu 24.04x86_64cedra-cli-1.0.0-Ubuntu-24.04-x86_64.zip
Windowsx86_64cedra-cli-1.0.0-Windows-x86_64.zip
  1. Extract the archive.

  2. Move the cedra (or cedra.exe on Windows) executable to a folder that is in your PATH:

    • macOS / Linux: /usr/local/bin or $HOME/.local/bin
    • Windows: C:\Windows\System32 or any folder listed in Environment Variables → Path
  3. Check current CLI version:

cedra --version

Option 2 – Install via Chocolatey (Windows only)

  1. Run the following command:
choco install cedra
  1. Once installed, verify:
cedra --version

More details available here: Chocolatey Cedra CLI Package

Option 3 – Install via Debian package (Ubuntu/Debian-based)

If you're using Ubuntu/Debian and prefer using .deb files:

wget https://launchpad.net/~username/+archive/ubuntu/ppa/+files/cedra-cli_0.0.1_amd64.deb
sudo dpkg -i cedra-cli_0.0.1_amd64.deb

After installation, confirm:

cedra --version

Option 4 – Build from source

If you prefer compiling yourself or contributing to Cedra:

git clone https://github.com/cedra-labs/cedra-network
cd cedra-network/devtools/cedra-cargo-cli
cargo build --release

The compiled binary will be at target/release/cedra (or .exe on Windows). Add it to your PATH and run cedra --version to confirm.

Option 5 – Install via Homebrew (coming soon)

info

The Cedra CLI for Homebrew is currently under review by the Homebrew community. Once approved and merged, it will be available via the standard Homebrew package manager.

What's next?