Installation
Last updated
Was this helpful?
This guide outlines how to download, install, and configure the Terrakube CLI (terrakube) on Linux, macOS, and Windows.
Pre-compiled binary releases of terrakube are available on the Terrakube CLI Releases page.
Download the archive matching your operating system and architecture from the GitHub Releases page.
Extract the binary:
tar -xzf terrakube_<version>_<os>_<arch>.tar.gzMove the binary into a system directory in your executable PATH (such as /usr/local/bin):
sudo mv terrakube /usr/local/bin/
sudo chmod +x /usr/local/bin/terrakubeVerify the installation:
terrakube --helpDownload the terrakube_<version>_windows_<arch>.zip archive from the GitHub Releases page.
Extract terrakube.exe into a folder of your choice (e.g., C:\Program Files\Terrakube).
Add the installation directory to your system PATH environment variable:
Open System Properties > Environment Variables.
Under System Variables, select Path and click Edit.
Click New and add C:\Program Files\Terrakube.
Open a new PowerShell or Command Prompt terminal and verify:
terrakube --helpIf you prefer to build the terrakube binary directly from source:
Go version 1.22 or higher.
git installed.
Clone the terrakube-io repository:
Compile the binary:
Move the binary to a directory in your system PATH:
Confirm installation:
Last updated
Was this helpful?
Was this helpful?
git clone https://github.com/terrakube-io/terrakube-io.git
cd terrakube-io/terrakube-cligo build -o terrakube main.gosudo mv terrakube /usr/local/bin/terrakube --help