Spaceship CLI is a high-performance, open-source command-line tool and programmatic automation interface designed specifically for the Spaceship domain registration, DNS management, and web services platform. Maintained under the SpaceCorps open-source engineering collective, the project originated to provide developers, system administrators, and autonomous AI agents with a single, standalone native binary capable of operating seamlessly across macOS, Linux, and Windows without external runtime dependencies or virtual machine overhead.
Modern domain lifecycle management and DNS infrastructure automation require rapid feedback loops, deterministic outputs, and secure credential handling. The original prototype CLI was implemented as a .NET global tool (Spaceship.Console) by Niels Bosma. While functional, modern CI/CD deployment pipelines, automated edge operations, and autonomous coding assistants benefit immensely from static native binaries that execute in 1 to 3 milliseconds rather than incurring the startup latencies and dependencies of managed language runtimes. In 2026, the CLI was completely re-architected in Rust Edition 2024 to achieve native speed, zero runtime bloat, and rock-solid memory safety.
Spaceship CLI is built around three uncompromising tenets: safety, determinism, and speed. Unlike conventional tools that quietly store plain-text secrets in home directories, Spaceship CLI integrates natively with host operating system credential vaults—such as macOS Keychain Services via the native security subsystem, Windows Data Protection API (DPAPI) encrypted under user-specific credentials, and the Linux Secret Service daemon. Furthermore, multi-account isolation prevents catastrophic cross-organization mistakes, and an atomic file-locking mechanism guarantees configuration integrity under concurrent terminal processes.
The CLI is engineered from the ground up for autonomous AI agents and script pipelines. Every command produces clean, human-readable YAML stdout by default and emits pristine, strictly typed JSON when invoked with --json. Error conditions are trapped in structured error envelopes on stderr with standardized error codes and actionable remediation advice, eliminating ambiguous shell failures.
Spaceship CLI provides complete coverage of the Spaceship public REST API (v1), including: