Skip to content

Latest commit

 

History

History
114 lines (80 loc) · 2.17 KB

File metadata and controls

114 lines (80 loc) · 2.17 KB

Installation Guide

Installing Comet

Quick Install (Recommended)

curl -fsSL https://moonwalker.github.io/comet/install.sh | sh

This 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"

Manual Installation

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/comet

Building from Source

Requires Go 1.23 or later.

git clone https://github.com/moonwalker/comet.git
cd comet
go build
./comet version

Prerequisites

Before using Comet, you need OpenTofu (recommended) or Terraform installed.

OpenTofu (Recommended)

macOS:

brew install opentofu

Linux/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 standalone

Signature Verification:

The OpenTofu installer verifies download signatures for security. Install one of:

# Option 1: cosign (recommended)
brew install cosign

# Option 2: GPG
brew install gnupg

Or skip verification (not recommended):

./install-opentofu.sh --install-method standalone --skip-verify

Other platforms: See OpenTofu installation docs

Terraform (Alternative)

macOS:

brew install terraform

Linux/Windows: See Terraform installation docs

Configuring Comet

Tell Comet which tool to use:

# comet.yaml
tf_command: tofu       # or: terraform

Default is tofu.

Verification

# Check Comet
comet version

# Check OpenTofu/Terraform
tofu version
# or
terraform version

Next Steps