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
Option 1 – Download a pre‑built binary (recommended)
- Visit the Cedra CLI v1.0.0 release page: https://github.com/cedra-labs/cedra-network/releases/tag/cedra-cli-v1.0.0.
- In the Assets section, choose the file that matches your platform:
OS | Architecture | File name |
---|---|---|
Linux | x86_64 | cedra-cli-1.0.0-Linux-x86_64.zip |
Linux | aarch64 | cedra-cli-1.0.0-Linux-aarch64.zip |
macOS | x86_64 | cedra-cli-1.0.0-macOS-x86_64.zip |
macOS | arm64 (Apple Silicon) | cedra-cli-1.0.0-macOS-arm64.zip |
Ubuntu 22.04 | x86_64 | cedra-cli-1.0.0-Ubuntu-22.04-x86_64.zip |
Ubuntu 24.04 | x86_64 | cedra-cli-1.0.0-Ubuntu-24.04-x86_64.zip |
Windows | x86_64 | cedra-cli-1.0.0-Windows-x86_64.zip |
-
Extract the archive.
-
Move the
cedra
(orcedra.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
- macOS / Linux:
-
Check current CLI version:
cedra --version
Option 2 – Install via Chocolatey (Windows only)
- Run the following command:
choco install cedra
- 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)
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?
- Dive depper into the CLI - via CLI guide
- Start your write your first contract - via CLI guide
- Build your first DApp - via our Real World Guides