Install via Brew on macOS

$ brew tap foundryapp/foundry-cli
$ brew install foundry
# Verify that Foundry is properly installed - this should print out a path
$ which foundry

Manual download and installation

Download pre-built binaries:

Once you download the binary, add it to one of the directories in your system's PATH variable. Usually, moving the binary to /usr/bin will work:

$ cd replace-this-with-folder-where-you-downloaded-Foundry
$ mv ./foundry-* /usr/bin/foundry

Install from the source

You can install the CLI from the source by cloning the repo and then building the whole project.

$ git clone
$ 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" .