The Nub homepage
Score6.4
Rank#13 of 18
Free planNo
Runs onLinux, macOS, Windows

Summary

Nub is ranked #13 of 18 in JavaScript package managers on Everything Xiaomi. It runs on Linux, macOS, Windows.

Compared on JavaScript package managers

Workspace support
Yesnubjs.com
Lockfile support
Yesnubjs.com
Peer dependency handling
Yesnubjs.com
Package publishing
Yesnubjs.com
Offline package cache
Yesnubjs.com
Global installation
Yesnubjs.com

Facts

Product
Nub is a Rust toolkit that runs TypeScript files and scripts, installs dependencies, and manages Node.js on stock Node.nubjs.com · 4 Oct 2026
Runtime
It runs TypeScript, JSX, and JavaScript files on the stock Node binary without requiring a separate build step.nubjs.com · 4 Oct 2026
Environment files
It loads .env files automatically and supports variable expansion.nubjs.com · 4 Oct 2026
Watch mode
Its watch command restarts an application when its entrypoint or transitively imported files change.nubjs.com · 4 Oct 2026
Node management
Nub can read version pins from .node-version, .nvmrc, or engines/devEngines and download the requested Node version on demand.nubjs.com · 4 Oct 2026
Script runner
The script runner supports package lifecycle hooks, npm_* environment variables, argument forwarding, and pnpm-style workspace filters.nubjs.com · 4 Oct 2026
Package manager compatibility
The installer reads and writes npm, pnpm, or Bun lockfiles; Yarn lockfiles are read-only.nubjs.com · 4 Oct 2026
Supply-chain protections
The installer denies dependency build scripts by default, checks OSV advisories, and holds back releases younger than 24 hours.nubjs.com · 4 Oct 2026
Install approval
Users can review and enable skipped install scripts with the nub approve-builds command.nubjs.com · 4 Oct 2026
CI integration
Nub provides a GitHub Action that installs Nub, warms the project's Node version, and caches Nub's store in CI.nubjs.com · 4 Oct 2026
Container integration
The documentation provides an official container image at ghcr.io/nubjs/nub.nubjs.com · 4 Oct 2026
Requirements
Augmented modes require Node 18.19 or newer and support macOS, Linux, and Windows on the listed x64 and arm64 architectures.nubjs.com · 4 Oct 2026
License
The site links the project license as MIT.nubjs.com · 4 Oct 2026
TypeScript runtime
Nub runs TypeScript, JSX, and modern syntax directly with support for tsconfig.json, environment files, and data-file imports.nubjs.com · 4 Oct 2026
Node compatibility
Nub runs code on the stock Node binary and describes its file command as flag-for-flag compatible with node.nubjs.com · 4 Oct 2026
CLI runner
nubx runs local command-line tools or fetches tools that are not installed, following a local-first model like npx.nubjs.com · 4 Oct 2026
Package manager
Nub install is a pnpm-compatible package manager that can round-trip npm, pnpm, and bun lockfiles; Yarn lockfiles are read-only.nubjs.com · 4 Oct 2026
Node version management
Nub can provision the Node version pinned by a project, downloading it from nodejs.org when it is not already installed.nubjs.com · 4 Oct 2026
Integrations
The documentation lists a GitHub Action and deployment guides for Docker, Vercel, Cloudflare, Railway, Render, AWS Lambda, and Google Cloud Run.nubjs.com · 4 Oct 2026
Package ecosystem support
Nub documents compatibility with npm, pnpm, Yarn, and Bun package-manager workflows, while its installer writes existing npm, pnpm, or bun lockfiles and treats yarn.lock as read-only.nubjs.com · 4 Oct 2026
Environment support
When Nub detects a Varlock .env.schema file, it disables its own environment loading and uses Varlock to load and validate the environment.nubjs.com · 4 Oct 2026

Best Nub alternatives

See all 12

Where it ranks on Everything Xiaomi

Is Nub yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources