Complete reference for HUD command-line tools
hud init
- Create new environmenthud dev
- Develop with hot-reloadhud build
- Build and generate lock filehud push
- Share to registryhud pull
- Get from registryhud analyze
- Inspect capabilitieshud debug
- Test compliancehud run
- Execute locally/remotelyCommand | Input | Description | Example |
---|---|---|---|
hud init | Directory | Create new environment | hud init my-env |
hud dev | Directory | Hot-reload development | hud dev . --interactive |
hud build | Directory | Build image & lock file | hud build . --tag v1.0 |
hud push | Directory | Share to registry | hud push . --tag prod |
Command | Input | Description | Example |
---|---|---|---|
hud pull | Target | Get environment from registry | hud pull org/env:latest |
hud analyze | Target | Inspect tools & capabilities | hud analyze org/env |
hud debug | Target | Test MCP compliance | hud debug my-env:latest |
hud run | Target | Execute server | hud run my-env --local |
Command | Description | Example |
---|---|---|
hud quickstart | Clone quickstart repository | hud quickstart |
hud cursor-list | List Cursor MCP servers | hud cursor-list |
hud version | Show version info | hud version |
Initialize
Dockerfile
, pyproject.toml
, and minimal MCP server with context.Develop
Build
hud.lock.yaml
with metadata and labels image for reproducibility.Push
HUD_API_KEY
. Auto-detects registry from Docker login.Pull
Analyze
Debug
Run
Code | Meaning | Description |
---|---|---|
0 | Success | Command completed |
1 | General Error | Command failed |
2 | Usage Error | Invalid arguments |
3 | Connection Error | Failed to connect |
4 | Timeout | Operation timed out |
5 | Protocol Error | MCP violation |