What is NitroPkg (npk)?

NitroPkg (npk) is the official package manager for Nitro OS. Engineered in Rust, it provides a fast, lightweight, and user-friendly command-line interface for installing, removing, updating, and managing system software.

Key Features & Architecture

Fast Package Management

Written in Rust with asynchronous parallel downloads and instant index lookups.

Simple & Intuitive Commands

Clean single-character aliases (npk i, npk rm, npk s) for effortless daily workflow.

Package Search

Fast multi-keyword search across official repositories and community package mirrors.

System Updates & Upgrades

Single-command synchronized repository refresh and rolling system package upgrades.

Cache Cleanup

Built-in automated cache garbage collection to maintain lean disk footprint.

Rust Powered Safety

Memory-safe binary architecture ensuring crash-free package transaction rollbacks.

Installation & Verification

NitroPkg comes pre-installed with Nitro OS. You can verify your installed version directly from any terminal:

# Check npk version
npk --version

# View all available flags and help
npk --help

Basic CLI Usage & Syntax

The standard command syntax:

npk <COMMAND> [ARGUMENTS]
CommandAliasExampleDescription
installinpk i firefoxInstall one or more software packages.
removermnpk rm firefoxRemove installed packages cleanly.
searchsnpk s neovimSearch repository packages by name/keyword.
update-npk updateSynchronize remote package databases.
upgrade-npk upgradeUpgrade all installed system packages.
clean-npk cleanRemove old/unused downloaded package cache.