$ brew tap foundryapp/foundry-cli$ brew install foundry# Verify that Foundry is properly installed - this should print out a path$ which foundry
Download pre-built binaries:
Once you download the binary, add it to one of the directories in your system's
Usually, moving the binary to
/usr/bin will work:
$ cd replace-this-with-folder-where-you-downloaded-Foundry$ mv ./foundry-* /usr/bin/foundry
You can install the CLI from the source by cloning the repo and then building the whole project.
$ git clone https://github.com/FoundryApp/foundry-cli.git$ cd foundry-cli
For a macOS build:
$ env GOOS=darwin GOARCH=amd64 go build -o "./foundry" .
For a Linux build:
$ env GOOS=linux GOARCH=amd64 go build -o "./foundry" .