curl -fsSL https://moonwalker.github.io/comet/install.sh | shThis installs Comet to ~/.local/bin/comet.
Add to PATH (if needed):
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export PATH="$HOME/.local/bin:$PATH"Download the latest release for your platform from the releases page:
# Example for macOS ARM64
curl -L https://github.com/moonwalker/comet/releases/download/v0.6.7/comet_0.6.7_darwin_arm64.tar.gz | tar xz
mv comet ~/.local/bin/
chmod +x ~/.local/bin/cometRequires Go 1.23 or later.
git clone https://github.com/moonwalker/comet.git
cd comet
go build
./comet versionBefore using Comet, you need OpenTofu (recommended) or Terraform installed.
macOS:
brew install opentofuLinux/macOS - Official Installer:
curl -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh
chmod +x install-opentofu.sh
./install-opentofu.sh --install-method standaloneSignature Verification:
The OpenTofu installer verifies download signatures for security. Install one of:
# Option 1: cosign (recommended)
brew install cosign
# Option 2: GPG
brew install gnupgOr skip verification (not recommended):
./install-opentofu.sh --install-method standalone --skip-verifyOther platforms: See OpenTofu installation docs
macOS:
brew install terraformLinux/Windows: See Terraform installation docs
Tell Comet which tool to use:
# comet.yaml
tf_command: tofu # or: terraformDefault is tofu.
# Check Comet
comet version
# Check OpenTofu/Terraform
tofu version
# or
terraform version- Read the Quick Start
- See Best Practices
- Browse Examples