Skip to content

Commit

Permalink
fix: add correct cargo command on installation guide (#987)
Browse files Browse the repository at this point in the history
* fix: add correct cargo command on installation guide

* fix: add correct local installation
  • Loading branch information
Evalir authored Aug 18, 2023
1 parent b6a82ee commit 5293d2e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ foundryup --path path/to/foundry
Or, by using a single Cargo command:

```sh
cargo install --git https://github.com/foundry-rs/foundry --profile local --force foundry-cli anvil chisel
cargo install --git https://github.com/foundry-rs/foundry --profile local forge cast chisel anvil
```

Or, by manually building from a local copy of the [Foundry repository](https://github.com/foundry-rs/foundry):
Expand All @@ -59,12 +59,14 @@ Or, by manually building from a local copy of the [Foundry repository](https://g
# clone the repository
git clone https://github.com/foundry-rs/foundry.git
cd foundry
# install Forge + Cast
cargo install --path ./cli --profile local --bins --force
# install Forge
cargo install --path ./crates/forge --profile local --force
# install Cast
cargo install --path ./crates/cast --profile local --force
# install Anvil
cargo install --path ./anvil --profile local --force
cargo install --path ./crates/anvil --profile local --force
# install Chisel
cargo install --path ./chisel --profile local --force
cargo install --path ./crates/chisel --profile local --force
```

### Installing for CI in Github Action
Expand Down

0 comments on commit 5293d2e

Please sign in to comment.