mujx / nodeman

Node.js version management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodeman PyPI version

Installation

pip install nodeman

Usage

$ nodeman --help

Usage: nodeman [OPTIONS] COMMAND [ARGS]...

  CLI tool to manage Node.js binaries

Options:
  --version  Return the current version.
  --help     Show this message and exit.

Commands:
  clean    Remove all the installed versions
  current  Show the version in usage
  install  Install a version
  latest   Install the latest version
  ls       Show all the available versions
  rm       Remove a version
  search   Search upstream for available versions
  sync     Sync globally installed packages among versions
  use      Switch to a different version

Installing v4.2.2

nodeman install 4.2.2

Switching versions

$ nodeman ls
4.2.2
5.1.0

$ nodeman use 5.1.0

Searching

$ nodeman search 5.1
5.1.0
5.1.1

Install the latest stable version

$ nodeman latest --branch 5

About

Node.js version management


Languages

Language:Python 100.0%