Update or revert to a specific Foundry branch with ease.
curl -L https://foundry.paradigm.xyz | bashTo install the nightly version:
foundryupTo install a specific version (in this case the nightly version):
foundryup --version nightlyTo install a specific branch (in this case the release/0.1.0 branch's latest commit):
foundryup --branch release/0.1.0To install a fork's main branch (in this case transmissions11/foundry's main branch):
foundryup --repo transmissions11/foundryTo install a specific branch in a fork (in this case the patch-10 branch's latest commit in transmissions11/foundry):
foundryup --repo transmissions11/foundry --branch patch-10To install from a specific Pull Request:
foundryup --pr 1071To install from a specific commit:
foundryup -C 94bfdb2To install a local directory or repository (e.g. one located at ~/git/foundry, assuming you're in the home directory)
foundryup --path ./git/foundryTip: All flags have a single character shorthand equivalent! You can use -v instead of --version, etc.