diff --git a/docs/components/_astria-go-cli-build-from-source.md b/docs/components/_astria-go-cli-build-from-source.md index 3ff5429..55adc03 100644 --- a/docs/components/_astria-go-cli-build-from-source.md +++ b/docs/components/_astria-go-cli-build-from-source.md @@ -1,12 +1,10 @@ -This requires `Go` and `just` to be installed on your system. -- Go: -- just: +::: code-group -```bash +```bash [SSH] git clone git@github.com:astriaorg/astria-cli-go.git cd astria-cli-go -just build-cli +just build # run the cli in the repo directory just run version @@ -15,3 +13,23 @@ just run version mv ./bin/astria-go /usr/local/bin/ astria-go version ``` + +```bash [HTTPS] +git clone https://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 +``` + +::: + + diff --git a/docs/components/_astria-go-cli-install.md b/docs/components/_astria-go-cli-install.md index 2011424..494e95e 100644 --- a/docs/components/_astria-go-cli-install.md +++ b/docs/components/_astria-go-cli-install.md @@ -1,21 +1,21 @@ ::: code-group ```bash [ARM Mac] - curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-darwin-arm64.tar.gz > astria-cli.tar.gz + curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.13.1/astria-go-v0.13.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 [X86_64 Mac] - curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-darwin-amd64.tar.gz > astria-cli.tar.gz + curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.13.1/astria-go-v0.13.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 [x86_64 Linux] - curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-linux-amd64.tar.gz > astria-cli.tar.gz + curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.13.1/astria-go-v0.13.1-linux-amd64.tar.gz > astria-cli.tar.gz tar -xvzf astria-cli.tar.gz mv astria-go /usr/local/bin/ astria-go version diff --git a/docs/components/_clone-geth.md b/docs/components/_clone-geth.md new file mode 100644 index 0000000..1352587 --- /dev/null +++ b/docs/components/_clone-geth.md @@ -0,0 +1,23 @@ + +::: code-group + +```bash [SSH] +git clone git@github.com:astriaorg/astria-geth.git +cd astria-geth +git checkout local-dev +just build +``` + +```bash [HTTPS] +git clone https://github.com/astriaorg/astria-geth.git +cd astria-geth +git checkout local-dev +just build +``` + +::: + + diff --git a/docs/developer/references/astria-go/cli-installation.md b/docs/developer/references/astria-go/cli-installation.md index 4a63f92..2cc9478 100644 --- a/docs/developer/references/astria-go/cli-installation.md +++ b/docs/developer/references/astria-go/cli-installation.md @@ -10,4 +10,9 @@ View all releases [here](https://github.com/astriaorg/astria-cli-go/releases). ## Build from Source +This requires `Go` and `just` to be installed on your system. + +- Go: +- just: + diff --git a/docs/developer/tutorials/install-the-cli.md b/docs/developer/tutorials/install-the-cli.md index 7ed92c9..0b1fc17 100644 --- a/docs/developer/tutorials/install-the-cli.md +++ b/docs/developer/tutorials/install-the-cli.md @@ -10,6 +10,11 @@ View all releases [here](https://github.com/astriaorg/astria-cli-go/releases). ## Build from Source +This requires `Go` and `just` to be installed on your system. + +- [Go](https://go.dev/doc/install) +- [just](https://github.com/casey/just) + ## Commands Used in this Tutorial diff --git a/docs/developer/tutorials/run-local-rollup-against-remote-sequencer.md b/docs/developer/tutorials/run-local-rollup-against-remote-sequencer.md index 1a3efe1..8779742 100644 --- a/docs/developer/tutorials/run-local-rollup-against-remote-sequencer.md +++ b/docs/developer/tutorials/run-local-rollup-against-remote-sequencer.md @@ -10,18 +10,13 @@ Astria stack locally on your machine. Requires `Go`, `just`, and `Foundry`: -- Go: -- just: -- Foundry: +- [Go](https://go.dev/doc/install) +- [just](https://github.com/casey/just) +- [Foundry](https://book.getfoundry.sh/getting-started/installation) Open a new terminal window and clone and build Geth. -```bash -git clone git@github.com:astriaorg/astria-geth.git -cd astria-geth -git checkout local-dev -just build -``` + ### Configure the Geth Genesis Information diff --git a/docs/developer/tutorials/run-local-rollup-and-sequencer.md b/docs/developer/tutorials/run-local-rollup-and-sequencer.md index 18501a3..d971f20 100644 --- a/docs/developer/tutorials/run-local-rollup-and-sequencer.md +++ b/docs/developer/tutorials/run-local-rollup-and-sequencer.md @@ -8,18 +8,13 @@ Astria stack locally on your machine. Requires `Go`, `just`, and `Foundry`: -- Go: -- just: -- Foundry: +- [Go](https://go.dev/doc/install) +- [just](https://github.com/casey/just) +- [Foundry](https://book.getfoundry.sh/getting-started/installation) Open a new terminal window and clone and build Geth: -```bash -git clone git@github.com:astriaorg/astria-geth.git -cd astria-geth -git checkout local-dev -just build -``` + Create a new genesis account for your Geth rollup: diff --git a/docs/dusk-faq/faq.md b/docs/dusk-faq/faq.md index 742b663..eac2f7f 100644 --- a/docs/dusk-faq/faq.md +++ b/docs/dusk-faq/faq.md @@ -17,8 +17,14 @@ The latest Devnet (dusk-8) runs the following software versions: ## Install the latest Astria cli +Download using curl: + +Build from source: + + + ## `astria-go` CLI Commands [View all the `astria-go` cli commands.](../developer/references/astria-go/cli-commands.md)