# Install nixpacks with Homebrew, MacPorts, Nix, scoop

App source + Nix packages + Docker = Image. Version 1.41.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#nixpacks.

## Install

```sh
sudo av install brew:nixpacks
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nixpacks
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nixpacks
```

  Evidence: MacPorts ports tree: devel/nixpacks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nixpacks
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ni/nixpacks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/nixpacks
```

  Evidence: Scoop official bucket manifest trees: bucket/nixpacks.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:nixpacks
- **Package manager:** Homebrew
- **Version:** 1.41.0
- **Source summary:** App source + Nix packages + Docker = Image
- **Homepage:** <https://nixpacks.com/docs/getting-started>
- **Repository:** <https://github.com/railwayapp/nixpacks>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- nixpacks (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.41.0
## Project history and usage

Nixpacks is Railway's Rust-based build tool that analyzes an application source tree and produces an OCI container image using Docker image construction plus packages from the Nix ecosystem. The project framed itself as a pragmatic alternative to Cloud Native Buildpacks for Railway's own platform workload: thousands of user apps, many language stacks, and a need for zero-config defaults that were still configurable when defaults failed.

### Project history

The public tag history starts with v0.0.1 on April 13, 2022, and the maintainers were already discussing a 2.0 direction by May 12, 2023. The docs and README later marked Nixpacks as maintenance-mode software and point users toward Railpack, Railway's successor builder that incorporates lessons from running Nixpacks in production for several years.

### Adoption history

Nixpacks' adoption is strongly tied to Railway-style deployment flows rather than being a general-purpose container standard. Its GitHub repository shows about 3.5k stars and 316 forks, and Homebrew's formula API reported 31 installs in 30 days, 93 in 90 days, and 941 in 365 days when checked on July 1, 2026.

### How it is used

Package nerds use `nixpacks` when they want Heroku/buildpack-like source-to-image behavior but prefer Nixpkgs for system dependencies. Typical use is local image generation, CI image builds, or debugging what a platform will infer from a repo; heavier Railway users should note the documented Railpack migration path.

### Timeline

- 2022-04-13: v0.0.1 tag appears in the public repository.
- 2023-05-12: maintainers discuss Nixpacks 2.0 after a little over a year of use at Railway.
- 2025-10-24: v1.41.0 release is listed as latest on GitHub and in the Homebrew formula.
- By 2026-07-01: upstream documentation labels Nixpacks as maintenance mode and recommends Railpack.

### Related projects

- Cloud Native Buildpacks
- Nixpkgs
- Railpack
- Railway

### Sources

- <https://formulae.brew.sh/api/formula/nixpacks.json>
- <https://github.com/railwayapp/nixpacks>
- <https://github.com/railwayapp/nixpacks/discussions/888>
- <https://github.com/railwayapp/railpack>
- <https://nixpacks.com/docs>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: nixpacks.toml, nixpacks.json, nixpacks.yml, nixpacks.yaml
## Other Package-Manager Records

- Nix - nixpacks: normalized package name match | nixpkgs package indexes: pkgs/by-name/ni/nixpacks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - nixpacks: normalized package name match | MacPorts ports tree: devel/nixpacks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/nixpacks: normalized package name match | Scoop official bucket manifest trees: bucket/nixpacks.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/nixpacks.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nixpacks.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
