# Nixpacks CLI

**Canonical:** https://apis.io/apis/nixpacks/cli/  
**Provider:** Nixpacks — https://apis.io/providers/nixpacks/  
**Documentation:** https://nixpacks.com/docs/cli

Nixpacks CLI is one of 5 APIs that [Nixpacks](https://apis.io/providers/nixpacks/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include CLI, Builds, Plan, and Detect. The published artifact set on APIs.io includes API documentation and a getting-started guide.

The Nixpacks command-line interface is the primary interface for generating build plans and producing Docker images from application source. Core commands include `nixpacks plan` (emit the JSON build plan that would be used), `nixpacks build` (produce an OCI image via Docker BuildKit), and `nixpacks detect` (identify which providers match the source directory). The CLI accepts inline overrides for install, build, and start commands, Nix and apt packages, environment variables, the base build image, and a separate runtime image, and is distributed as a single Rust binary via Homebrew, install script, Docker image, and GitHub releases.

## Machine-readable artifacts (5)

- **Documentation** — https://nixpacks.com/docs/cli
- **GettingStarted** — https://nixpacks.com/docs/getting-started
- **SourceCode** — https://github.com/railwayapp/nixpacks
- **Install** — https://nixpacks.com/docs/install
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/nixpacks/refs/heads/main/apis.yml

## Other Nixpacks APIs (4)

- [Nixpacks Build Plan](https://apis.io/apis/nixpacks/build-plan/)
- [Nixpacks Configuration File (nixpacks.toml)](https://apis.io/apis/nixpacks/configuration-file/)
- [Nixpacks Language Providers](https://apis.io/apis/nixpacks/providers/)
- [Nixpacks GitHub Action](https://apis.io/apis/nixpacks/github-action/)

## Tags

CLI, Builds, Plan, Detect

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/nixpacks/cli/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/nixpacks/.
