Installation#

Homebrew#

Install Nixpacks with Homebrew (macOS Only)

brew install railwayapp/tap/nixpacks

MacPorts#

Install Nixpacks with MacPorts (macOS Only)

sudo port install nixpacks

Curl#

Download Nixpacks from GH releases and install automatically

curl -sSL https://nixpacks.com/install.sh | bash

PowerShell#

Download Nixpacks from GH release and install automatically (with powershell)

irm https://nixpacks.com/install.ps1 | iex

Debian (and derivatives like Ubuntu)#

Nixpacks provides a .deb file provided in each release.

# Replace {VERSION} with the version that you want to install
curl -LO https://github.com/railwayapp/nixpacks/releases/download/v{VERSION}/nixpacks-v{VERSION}-amd64.deb
sudo dpkg -i nixpacks-v{VERSION}-amd64.deb

Scoop#

Install Nixpacks from Scoop using the official bucket (Windows Only)

scoop install nixpacks

Source#

Build and install from source using Rust.

Nixpacks currently requires a Rust version no lower than 1.57

cargo install nixpacks