foundry/foundryup
History 2024-02-28 13:21:14 +01:00
..
foundryup fix(foundryup): don't fail on 'which' check (#6377) 2023-11-20 23:37:24 +01:00
install fix(foundryup): use fish_add_path in fish shell (#7258) 2024-02-28 13:21:14 +01:00
README.md fmt: all (#3398) 2022-09-28 18:28:26 +02:00

foundryup

Update or revert to a specific Foundry branch with ease.

Installing

curl -L https://foundry.paradigm.xyz | bash

Usage

To install the nightly version:

foundryup

To install a specific version (in this case the nightly version):

foundryup --version nightly

To install a specific branch (in this case the release/0.1.0 branch's latest commit):

foundryup --branch release/0.1.0

To install a fork's main branch (in this case transmissions11/foundry's main branch):

foundryup --repo transmissions11/foundry

To 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-10

To install from a specific Pull Request:

foundryup --pr 1071

To install from a specific commit:

foundryup -C 94bfdb2

To install a local directory or repository (e.g. one located at ~/git/foundry, assuming you're in the home directory)

Note: --branch, --repo, and --version flags are ignored during local installations.
foundryup --path ./git/foundry

Tip: All flags have a single character shorthand equivalent! You can use -v instead of --version, etc.