Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.07 KB

installation.md

File metadata and controls

42 lines (30 loc) · 1.07 KB

Installation

Pre-built binaries

Download any package from the release page.

Homebrew

brew install kyleu/kyleu/npn

deb, rpm and apk packages

Download the .deb, .rpm or .apk packages from the release page and install them with the appropriate tools.

Running with Docker

docker run -p 19000:19000 ghcr.io/kyleu/npn:latest
docker run -p 19000:19000 ghcr.io/kyleu/npn:latest-debug

Built from source

go install

go install github.com/kyleu/npn@latest

Source code

If you want to contribute to the project, please follow the steps on our contributing guide.

If you just want to build from source for whatever reason, follow these steps:

git clone https://github.com/kyleu/npn
cd npn
make build
./build/debug/npn --help

A script has been provided at ./bin/dev.sh that will auto-reload when the project changes.

Note that you may need to run ./bin/bootstrap.sh before building the project for the first time.