Installation

Installation

This page installs the Huitzo CLI for pack/dashboard developers. To deploy the Huitzo server on your own infrastructure, see the Self-Hosting Guide (and its Quick Start) instead.

This guide covers installing the Huitzo CLI for pack development. The CLI ships as a native launcher that manages its own private Python environment and bundles the SDK — you do not install the SDK separately.

Prerequisites

  • Internet connection – Pack development uses Huitzo's cloud sandbox
  • git – Recommended for version control (the installer detects it)
  • Huitzo account – Sign up at huitzo.ai

No separate Python or SDK install. The launcher provisions its own private virtual environment (at ~/.huitzo/venv/) with a managed Python and the Huitzo SDK already inside it. You only install the CLI.

Platform Support

Platform Supported Notes
Linux (x86_64) ✅ Primary development platform
Linux (arm64) ❌ Not supported at launch: Linux is x86_64 only, as for self-hosted deployments
macOS (Intel) ✅ Full support
macOS (Apple Silicon) ✅ Native ARM support
Windows 10/11 (PowerShell, native) ✅ Installs the CLI via install.ps1; WSL2 recommended if you'll pair a local Studio runner
Windows 10/11 (WSL2) ✅ Full parity with Linux

Install the CLI

The huitzo CLI ships as a native launcher (a small Rust binary) that manages a private Python virtual environment at ~/.huitzo/venv/, keeps the CLI and SDK up to date, and runs a one-time consent + capability check on first install. Direct pip install / uv add is not a supported install path — always go through the launcher.

Using the install script (Linux, macOS, WSL2)

curl -sSf https://raw.githubusercontent.com/Huitzo-Inc/huitzo-launcher/main/install.sh | sh

The script asks for consent, installs the launcher binary, verifies its checksum, adds ~/.huitzo/bin to your PATH, and reports which local tools (huitzo / claude / git) are present.

Windows (PowerShell)

On native Windows, install from PowerShell:

iwr -useb https://raw.githubusercontent.com/Huitzo-Inc/huitzo-launcher/main/install.ps1 | iex

Same flow as the shell script: it installs the launcher to %USERPROFILE%\.huitzo\bin, verifies the download checksum, and updates your user PATH. See Windows Installation below for the non-interactive form and the WSL2 alternative.

Using Homebrew (macOS, Linux)

brew install Huitzo-Inc/tap/huitzo

Verify installation

huitzo --version
# Output: huitzo 0.6.3

For manual installs (downloading a specific platform binary) or launcher-specific flags, see the Huitzo Launcher README and the CLI Overview.

CLI Commands

huitzo --help

# Core commands:
#   pack new      Create a new pack from template
#   pack dev      Start development session (cloud sandbox)
#   pack test     Run pack tests
#   pack build    Build pack for distribution
#   pack publish  Publish pack to registry
#   pack validate Validate pack manifest

Verify Installation

Scaffold a throwaway pack to confirm the CLI (and its bundled SDK) work end-to-end:

# Creates a pack from the template — the generated project depends on the
# SDK that the launcher already manages, so nothing else to install.
huitzo pack new hello-check
cd hello-check

# Validate the scaffolded manifest
huitzo pack validate
# Output: ✅ Manifest valid

If huitzo pack validate succeeds, the CLI and SDK are installed correctly. You can delete the hello-check directory afterwards.

Development Environment Setup

Install these extensions for the best experience:

  • Python – Microsoft's Python extension
  • Pylance – Type checking and IntelliSense
  • Ruff – Fast linting and formatting
  • Even Better TOML – pyproject.toml support

Configure VS Code

Create .vscode/settings.json:

{
  "python.defaultInterpreterPath": ".venv/bin/python",
  "python.analysis.typeCheckingMode": "basic",
  "[python]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "charliermarsh.ruff"
  }
}

Authenticate with Huitzo

Before developing packs, log in to your Huitzo account:

huitzo login

This prompts for your email and password. Once complete, you're ready to develop and test packs.

Note: Pack development uses Huitzo's cloud sandbox—you don't need to install PostgreSQL, Redis, or any other infrastructure locally. When you run huitzo pack dev, a local proxy starts on your machine that forwards requests to a cloud-hosted sandbox where your pack code executes.

See Developer Environment for more details on the development architecture.

Project Structure

Recommended project structure for a pack:

my-pack/
├── pyproject.toml          # Package configuration
├── README.md               # Pack documentation
├── .env                    # Local environment (gitignored)
├── .gitignore
├── src/
│   └── my_pack/
│       ├── __init__.py
│       ├── commands/       # Command implementations
│       │   ├── __init__.py
│       │   └── example.py
│       └── utils/          # Shared utilities
│           └── __init__.py
└── tests/
    ├── __init__.py
    └── test_example.py

Next Steps

Now that you have the CLI installed:

  1. Create Your First Pack – Build a working pack in 10 minutes
  2. SDK Overview – Understand the SDK architecture
  3. Commands Reference – Deep dive into command patterns

Windows Installation

Huitzo installs on Windows two ways — native PowerShell and WSL2 — and both install the same launcher and CLI. Use native PowerShell for CLI and pack development; use WSL2 if you'll pair a local Studio runner or want a full Linux environment for Docker-based testing.

Native Windows (PowerShell)

iwr -useb https://raw.githubusercontent.com/Huitzo-Inc/huitzo-launcher/main/install.ps1 | iex

The installer downloads the launcher, verifies its SHA-256 checksum, installs it to %USERPROFILE%\.huitzo\bin, and adds that directory to your user PATH. Open a new terminal so the PATH change takes effect, then confirm:

huitzo --version

For non-interactive environments (CI, provisioning scripts), grant consent up front:

$env:HUITZO_ASSUME_YES=1
iwr -useb https://raw.githubusercontent.com/Huitzo-Inc/huitzo-launcher/main/install.ps1 | iex

Studio runner note: the CLI and pack development run natively on Windows. If you plan to pair a local Studio runner, use WSL2 (below) — that path is validated end-to-end for the runner.

WSL2

WSL2 gives you a full Linux environment (recommended for the Studio runner or Docker-based testing):

# Install WSL2 (PowerShell as Admin)
wsl --install -d Ubuntu-24.04

Then open the Ubuntu shell and run the standard Linux install command:

curl -sSf https://raw.githubusercontent.com/Huitzo-Inc/huitzo-launcher/main/install.sh | sh
huitzo --version

Working Inside WSL2

Once you're in the Ubuntu (WSL2) shell, you're in a standard Linux environment — use Linux paths and the usual export syntax for environment variables:

# Set environment variables for the current shell
export HUITZO_API_URL="http://localhost:8000"

# Make them persist across sessions
echo 'export HUITZO_API_URL="http://localhost:8000"' >> ~/.bashrc

Access your Windows files from WSL2 under /mnt/c/... if you need them.


Troubleshooting

huitzo: command not found

The launcher adds ~/.huitzo/bin to your PATH via your shell profile. If the command isn't found immediately after install, reload your shell:

# Reload your profile (or just open a new terminal)
source ~/.bashrc   # or ~/.zshrc

# Or add the launcher bin directory for the current session
export PATH="$HOME/.huitzo/bin:$PATH"

Authentication errors

  1. Run huitzo logout then huitzo login to re-authenticate
  2. Check your internet connection
  3. Verify your Huitzo account is active

Sandbox connection errors

  1. Verify internet connectivity: curl -I https://huitzo.ai
  2. Check if you're behind a corporate proxy/firewall
  3. Run huitzo status to check connection

Getting Help