Skip to content

Latest commit

 

History

History
94 lines (69 loc) · 2.55 KB

installation.md

File metadata and controls

94 lines (69 loc) · 2.55 KB
order 5
redirects learn/getting-started/installation

Installation

Nupp releases are self-contained: the compiler, runtime, standard library, and documentation tools travel in one platform archive. Checking, running and documenting a project need nothing else.

Homebrew on macOS

The Homebrew tap supports Apple-silicon macOS:

brew install nupp-lang/tap/nupp

Upgrade later with:

brew update
brew upgrade nupp

Release CI signs and notarizes the macOS binary with a Developer ID when the project's Apple credentials are configured, and otherwise ships it with only the ad-hoc signature every arm64 executable carries. SIGNING.txt in the archive says which. An archive without a Developer ID downloaded through a browser may make macOS ask for explicit approval the first time it runs; use Open Anyway under System Settings > Privacy & Security if that happens.

Scoop on Windows

The Scoop bucket supports 64-bit Windows:

scoop bucket add nupp https://github.com/nupp-lang/scoop-bucket
scoop install nupp

Upgrade later with:

scoop update
scoop update nupp

Direct downloads

The latest GitHub release provides these complete distributions:

Platform Archive
Linux x86-64 nupp-linux-x86_64.tar.gz
Apple-silicon macOS nupp-macos-arm64.tar.gz
Windows x86-64 nupp-windows-x86_64.tar.gz

Extract the archive, put nupp or nupp.exe on PATH, and verify it:

nupp --version

That prints one line, nupp and the release, which is the release you downloaded. nupp --help lists what it can do.

Each archive includes its third-party notices, signing status, and a SHA256SUMS file for the executable. Building a C dependency from source needs a C compiler on the machine. Building a binary target builds the VM runtime it is stamped onto from Nupp's Rust sources, so it needs a Nupp source checkout and a Rust toolchain; see project builds.

Build from source

Clone the repository only when you want to contribute to Nupp or work on the compiler itself. The contributing guide covers the pinned Rust and C toolchains, the bootstrap, and worktree requirements without making them prerequisites for ordinary users.

Start a project

nupp init app hello
cd hello
nupp check
nupp test
nupp task start

Continue with Getting started for the project loop and templates.