35

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?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
user1070381
  • 503
  • 2
  • 6
  • 9

6 Answers6

56

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.

Community
  • 1
  • 1
Sergio Tulentsev
  • 226,338
  • 43
  • 373
  • 367
  • 26
    For all the DRY people go on and on about in the Ruby community, they sure seem keen to keep two different tools which have exactly the same purpose. – Hakanai Aug 10 '12 at 03:39
  • 2
    YES - there is a way to do this now: http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/ – stackdump Jan 15 '13 at 13:03
  • 12
    @Trejkaz: DRY means "don't repeat yourself". It says nothing about not repeating *others* :) – Sergio Tulentsev Jul 04 '13 at 00:43
  • 1
    An alternative is my free program RubySwitcher (written in C#) available from http://pessetto.com/pages/Software. It has a simple GUI to it. May require additional Microsoft Redistributables. – Travis Pessetto Oct 24 '13 at 19:37
  • 2
    I really wish this position was featured more prominently on RVM's website. Just wasted a couple hours because [this page on RVM's site](https://rvm.io/rvm/install) says to use [this tutorial](http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/) which is pretty old and sure didn't work for me.What's worse, [pik](https://github.com/vertiginous/pik) is no longer maintained. – blong Jul 15 '15 at 15:00
  • Pik says to use Uru: https://bitbucket.org/jonforums/uru. I'm considering using Docker. – Chloe Apr 24 '18 at 21:54
6

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

kunnu
  • 414
  • 7
  • 13
  • 3
    Just to add context to those coming across this. Pik is no longer maintained according to it's GitHub repository: https://github.com/vertiginous/pik – blong Jul 15 '15 at 14:47
4

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

Shrinivas
  • 1,223
  • 16
  • 13
3

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/

0

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

Marko
  • 917
  • 9
  • 14
0

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.