Skip to content

Installation

If you use mise, you can install Boilerplate with a single command:

Terminal window
mise use --global boilerplate

You can also download a pre-built binary from the GitHub Releases page.

Apple Silicon (M1/M2/M3/M4):

Terminal window
curl -Lo boilerplate https://github.com/gruntwork-io/boilerplate/releases/latest/download/boilerplate_darwin_arm64
chmod +x boilerplate
sudo mv boilerplate /usr/local/bin/

Intel:

Terminal window
curl -Lo boilerplate https://github.com/gruntwork-io/boilerplate/releases/latest/download/boilerplate_darwin_amd64
chmod +x boilerplate
sudo mv boilerplate /usr/local/bin/

If you prefer to build from source, you’ll need Go 1.21 or later:

Terminal window
git clone https://github.com/gruntwork-io/boilerplate.git
cd boilerplate
go build -o boilerplate .
sudo mv boilerplate /usr/local/bin/

After installing, verify that Boilerplate is available:

Terminal window
boilerplate --version

You should see the version number printed to the console.

Now that Boilerplate is installed, create your first template.