I managed to fix this error by creating a ~/.bash_profile file and sourcing the nvs.sh script
~/.bash_profile
source ~/AppData/Local/nvs/nvs.sh