This guide will show you how to install the Grid Intensity CLI using either brew or curl.
To install using Homebrew, run the following command:
brew install thegreenwebfoundation/carbon-aware-tools/grid-intensity
To install using curl, run the following command:
curl -fsSL https://raw.githubusercontent.com/thegreenwebfoundation/grid-intensity-go/install-script/install.sh | sudo sh
You can also manually install the CLI using the latest binary release available on GitHub.
Once you have downloaded the tarball, you will need to:
tar xzf grid-intensity_0.3.0_Darwin_arm64.tar.gz grid-intensity
chmod +x grid-intensity
sudo mv grid-intensity /usr/local/bin/