Install the astria-go
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.15.1/astria-go-v0.15.1-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.15.1/astria-go-v0.15.1-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.15.1/astria-go-v0.15.1-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-cli
# 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
bash
git clone https://github.com/astriaorg/astria-cli-go.git
cd astria-cli-go
just build-cli
# 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
View the source code here.