Using Foundryup
curl -L https://foundry.paradigm.xyz | bashBuilding from Source
cargo install --git https://github.com/foundry-rs/foundry --profile release --locked forge cast chisel anvilDocker
docker pull ghcr.io/foundry-rs/foundry:latestcurl -L https://foundry.paradigm.xyz | bashcargo install --git https://github.com/foundry-rs/foundry --profile release --locked forge cast chisel anvildocker pull ghcr.io/foundry-rs/foundry:latest