Skip to content

Install the Astria CLI

The astria-go cli is a tool designed to make local rollup development as simple and dependency free as possible. It provides functionality to easily run the Astria stack and interact with the Sequencer.

Download using Curl

bash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-darwin-arm64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version
bash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-darwin-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version
bash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-linux-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version

View all releases here.

Build from Source

This requires Go and just to be installed on your system.

bash
git clone git@github.com:astriaorg/astria-cli-go.git
cd astria-cli-go
just build

# run the cli in the repo directory
just run version

# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go version