How to install RVM on Windows 7

2020-01-28 03:59发布

问题:

How do I install RVM on Windows 7?

It says to install RVM, and use the following script:

user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

But I have no idea what to do with it. If I type it into cmd an error message comes up saying it was 'unexpected at this time'.

What do I do to install RVM?

回答1:

No RVM for you! From RVM’s FAQ:

Does RVM work on windows? Will it in the future?

NO. If you would like to manage multiple versions of ruby on windows please use pik which is an excellent tool by Gordon Thiesfeld. You can find it on GitHub. There are plans to include windows support in RVM 2.0.



回答2:

Pik is an RVM for windows pik is a tool to manage multiple versions of ruby on Windows. It can be used from the Windows command line (cmd.exe), Windows PowerShell, or Git Bash. follow this link pik on windows



回答3:

Currently pik is no longer maintained use uru an alternative to pik



回答4:

Yes indeed i think we can use cygwin for having RVM on windows

Link: http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/



回答5:

you can install pik trough chocolatey https://chocolatey.org/packages/pik



回答6:

RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). https://rvm.io/rvm/install

Bash on Ubuntu on Windows works fine for me.