qmetrics.net

nodeenv

Isolated Node.js environments similar to Python virtualenv

Build & DeploymentDesktop/CLI app
nodeenv screenshot

Command-line tool that creates separate Node.js installs with their own binaries and npm packages, and can integrate into an existing Python virtualenv.

Overview

nodeenv is a utility for creating isolated Node.js environments, analogous to Python’s virtualenv. Each environment gets its own installation directories so global packages from one env do not leak into another.

Basic usage creates a directory, activates it with a shell script on Unix or scripts under env\Scripts on Windows, and then runs node and npm inside that context. A deactivatenode command ends the session. Advanced options let you pick specific Node or npm versions, semver ranges, LTS targets, mirrors, prebuilt binaries, or compile from source.

Requirements files can seed global or local npm installs when the environment is created or updated. The -p flag adds Node into an already active Python virtualenv so both ecosystems share one prefix. Defaults can live in a ~/.nodeenvrc INI file.

Install methods described include pip or pipx for the nodeenv driver itself on Linux, macOS, and Windows, plus optional shell completion scripts for bash, zsh, and fish. The site contrasts nodeenv with tools such as nave and nvm in an alternatives section.

Key features

  • Per-project isolated Node installs
  • Version ranges, LTS, and mirror support
  • Integration with Python virtualenv via -p
  • Requirements files for npm packages
  • Prebuilt or compiled-from-source Node
  • Configurable defaults in nodeenvrc
  • Shell completion for bash, zsh, and fish
  • Windows cmd and PowerShell activation

Use cases

  • Pinning Node versions per project
  • Combining Python and Node in one venv
  • Repeatable envs from requirements files
  • Avoiding global npm pollution

Tags

Similar software

nvm

POSIX shell version manager for Node.js

nvm installs and switches between Node.js versions from the command line on POSIX shells including bash and zsh.

★ 96.3k⟳ 2 days agoMIT
Build & DeploymentDesktop/CLI app

uv

Fast Python package and project manager

uv is a Rust-based tool that manages Python dependencies, virtual environments, scripts, and interpreters. It offers a pip-compatible interface and universal lockfiles for projects.

★ 92.7k⟳ 2 days agoApache-2.0
Build & DeploymentDesktop/CLI app

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app

Vite

Frontend build tool for modern web projects

Vite is a build tool for modern web projects, combining a development server with an optimized production build. It targets a faster, leaner local development workflow.

★ 84.2k⟳ yesterdayMIT
Build & DeploymentDesktop/CLI app

act

Local runner for GitHub Actions workflows

A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.

★ 72.8k⟳ 12 days agoMIT
Build & DeploymentDesktop/CLI app

Moby

Modular toolkit for assembling container systems

Moby bundles container build, runtime, registry, and orchestration components so integrators can craft custom container platforms instead of using a single fixed product.

★ 72.3k⟳ todayApache-2.0