moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.29k stars 538 forks source link

Warning: could not find bison/Error: Missing requirements #381

Open chiku524 opened 3 years ago

chiku524 commented 3 years ago

Hi

I am trying to install GVM on windows via gitbash. When running the curl command, it says that it successfully installs GVM.

When I close the terminal and open a new one, I try running GVM and it says command not found. I then run source ~/.gvm/scripts/gvm to try and locate it, and when I use the command GVM after that I get this error:

$ gvm
WARNING:
Could not find bison

  linux: apt-get install bison

ERROR: Missing requirements.

Does this mean I need to install bison in order to use GVM? I tried installing flex-bison via chocolatey for windows, but I'm guessing it's not recognizing it as bison.

Any suggestions?

luisfelipe3d commented 3 years ago

Try to use WSL2 on Windows to run an distro linux and install gvm inside of your distro.

1pavanb commented 3 years ago

http://gnuwin32.sourceforge.net/packages/bison.htm

I installed bison.

works fine in gitbash for windows image