sfertman / dn

Docker powered Node.js version manager
MIT License
0 stars 0 forks source link
docker nodejs version-manager

dn - Docker powered Node.js version manager

Getting started

  1. Install Docker

  2. Download and install latest release:

    wget https://github.com/sfertman/dn/releases/latest/download/dn.sh  
    chmod +x dn.sh  
    ./dn.sh install
  3. Start using the version of node you want, e.g.:

    dn 6.14
  4. Learn more:

    dn --help

Why does it exist?

Inspiration

Compared with n

Whenever you switch node versions in n, it removes the previous version and installs the new one on your machine. dn does not touch your existing node installation. Instead, it pulls the official node alpine docker images and runs your commands in containers.

Limitations