Skip to content

Commit

Permalink
Add --locked to install commands (foundry-rs#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Sep 22, 2023
1 parent 1b488a9 commit bcb4f25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 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 forge cast chisel anvil
cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge cast chisel anvil
```

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

### Installing for CI in Github Action
Expand Down

0 comments on commit bcb4f25

Please sign in to comment.