From 0b1453da8a8b8c91c497a58fabe832f50ac65371 Mon Sep 17 00:00:00 2001 From: Operations Research Engineering Software+ Date: Thu, 1 Jun 2017 11:28:49 -0700 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1232673..93e128a 100644 --- a/README.md +++ b/README.md @@ -369,6 +369,14 @@ add-zsh-hook chpwd load-nvmrc load-nvmrc ``` +## Usage with Docker + +The following should be sufficient to install Node.js / NPM to a Docker image + +RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash +RUN . /root/.nvm/nvm.sh && nvm --version + + ## License nvm is released under the MIT license.