Manual Upgrade
https://github.com/nvm-sh/nvm/blob/master/README.md#manual-upgrade
Install git
sudo apt-get install git
Upgrade nvm
( cd "$NVM_DIR" git fetch --tags origin git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`) && \. "$NVM_DIR/nvm.sh"
Check nvm version
nvm --version