jasongin/nvs

bash: nvs: command not found (Windows + Chocolatey + MINGW64)

andrey-helldar opened this issue · 1 comments

There are no problems when installing using msi, everything works. Today I decided to reinstall nvs via Chocolatey to make it easier to update.

My steps:

  1. Opened the list of installed programs.
  2. Removed nvs using the uninstall utility.
  3. Opened PowerShell with administrator rights.
  4. Entered the command choco install nvs.
  5. Confirmed the installation and received a success message.
  6. Checked the path to the folder %LOCALAPPDATA%\nvs\ in the PATH variable.
  7. Restarted the console (and then restarted the computer).
  8. Entered the command nvs --version into the console.
  9. Received an error message:
Helldar@HellPC MINGW64 /d/domains
$ nvs --version
bash: nvs: command not found

I'm working in the MINGW64 terminal that comes with git.

image

I just checked the command in cmd - it works there. But I almost never use it.

image

And I just downloaded the msi file version 1.7.1 from the releases page - everything worked immediately.

image