clean
Clean up Kurtosis enclaves and artifacts. Remove stopped enclaves, running enclaves with -a flag, and stopped engine containers.…
Build and test the Kurtosis CLI from source. Compile the CLI binary locally, run it against Docker or Kubernetes engines, and iterate on CLI changes without creating a release. Use when developing or debugging CLI commands.
Claude Code
$ npx -y skills add kurtosis-tech/kurtosis --skill cli-local-build --agent claude-code
Codex
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a codex -y
Cursor
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a cursor -y
Gemini CLI
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a gemini-cli -y
GitHub Copilot
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a github-copilot -y
OpenCode
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a opencode -y
Windsurf
$ npx skills add kurtosis-tech/kurtosis --skill cli-local-build -a windsurf -y
name: cli-local-build description: Build and test the Kurtosis CLI from source. Compile the CLI binary locally, run it against Docker or Kubernetes engines, and iterate on CLI changes without creating a release. Use when developing or debugging CLI commands. compatibility: Requires Go 1.23+. metadata: author: ethpandaops version: "1.0"
Build and test the Kurtosis CLI from source for local development.
# Build the CLI binary go build -o /tmp/kurtosis ./cli/cli/ # Verify it works /tmp/kurtosis version
The locally built CLI works exactly like the installed one. Use the full path to avoid conflicts with the system-installed `kurtosis`:
# Start engine /tmp/kurtosis engine start # Run a package /tmp/kurtosis run github.com/ethpandaops/ethereum-package # Clean up /tmp/kurtosis clean -a # Stop engine /tmp/kurtosis engine stop
# Check current cluster setting /tmp/kurtosis cluster get # Switch to Docker /tmp/kurtosis cluster set docker # Switch to Kubernetes (uses current kubectl context) /tmp/kurtosis cluster set kubernetes # Restart engine after switching /tmp/kurtosis engine restart # Verify engine is running on the expected backend /tmp/kurtosis engine status /tmp/kurtosis cluster get
For debugging concurrency issues:
go build -race -o /tmp/kurtosis ./cli/cli/
# Run CLI command tests go test ./cli/cli/commands/... # Run a specific test go test -run TestName ./cli/cli/commands/... # Run with verbose output go test -v ./cli/cli/commands/...
| Component | Path | |-----------|------| | CLI entry point | `cli/cli/main.go` | | CLI commands | `cli/cli/commands/` | | Engine launcher | `engine/launcher/` | | API container launcher | `core/launcher/` | | Container engine abstraction | `container-engine-lib/` | | gRPC API definitions | `api/protobuf/` | | Version constant | `kurtosis_version/kurtosis_version.go` |
The monorepo has multiple Go modules. If you change a dependency, rebuild in order:
container-engine-lib
→ contexts-config-store
→ grpc-file-transfer
→ name-generator
→ api
→ metrics-library
→ engine
→ core
→ cliMost CLI-only changes just need `go build ./cli/cli/`.
A platform for packaging and launching blockchain infra. Think docker compose for blockchain
Clean up Kurtosis enclaves and artifacts. Remove stopped enclaves, running enclaves with -a flag, and stopped engine containers.…
Manage Kurtosis cluster settings. Switch between Docker and Kubernetes backends, list available clusters, and configure which…
Manage Kurtosis contexts for connecting to different Kurtosis instances. Add, list, switch, and remove contexts. Use when working…
Debug Kurtosis running on local Docker. Inspect engine, API container, and service logs. Diagnose container crashes, port…
Build and test Kurtosis from source on local Docker. Compiles all components (engine, core, files-artifacts-expander), builds…
Dump Kurtosis state for debugging and sharing. Export enclave state including service logs, configurations, and file artifacts to…
Set up, connect, validate, and repair Claude Desktop and MCP servers using Desktop Commander — inspecting and fixing mcp.json /…