Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add correct cargo command on installation guide #987

Merged
merged 2 commits into from
Aug 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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