Installation

Installing nvm

Accessed:

Titlenvm-sh / nvm
URLhttps://github.com/nvm-sh/nvm#installing-and-updating

From the Install & Update Script section copied the command below.

Executed:

ubuntu@ouvm4:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
ubuntu@ouvm4:~$ exit

Details

    ubuntu@ouvm4:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
    100 16563  100 16563    0     0   243k      0 --:--:-- --:--:-- --:--:--  248k
    => Downloading nvm from git to '/home/ubuntu/.nvm'
    => Cloning into '/home/ubuntu/.nvm'...
    remote: Enumerating objects: 380, done.
    remote: Counting objects: 100% (380/380), done.
    remote: Compressing objects: 100% (323/323), done.
    remote: Total 380 (delta 43), reused 179 (delta 29), pack-reused 0 (from 0)
    Receiving objects: 100% (380/380), 382.75 KiB | 13.67 MiB/s, done.
    Resolving deltas: 100% (43/43), done.
    * (HEAD detached at FETCH_HEAD)
      master
    => Compressing and cleaning up git repository
 
    => Appending nvm source string to /home/ubuntu/.bashrc
    => Appending bash_completion source string to /home/ubuntu/.bashrc
    => Close and reopen your terminal to start using nvm or run the following to use it now:
 
    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
 
 
    ubuntu@ouvm4:~$ exit

Result

Logged back in.

Executed:

ubuntu@ouvm4:~$ nvm --version
0.40.1