The personal ramblings of Jon Carlos mobile & web developer and technology enthusiast.

Sunday, 7 June 2015

KVM Install in OS X on a Mac

19:46 Posted by Jon Carlos , , , No comments
I was looking to get kvm installed on my mac so I could do some .net development and found a great blog post by Graeme Christie called ASP.NET vNext on OSX and Linux

One thing I had an issue with was the actual install of kvm though. Graeme provides a single line install which is handy but when I tried it I received the following error

Downloading kvm from 'https://raw.githubusercontent.com/aspnet/Home/master/kvm.sh'

Appending source string to ~/.bash_profile
Type 'source ~/.k/kvm/kvm.sh' to start using kvm
-bash: ~/.kre/kvm/kvm.sh: No such file or directory


I found that the install command was very slightly wrong and used the ~/.kvm/ directory rather than ~/.k/ directory. I made the small change an re-ran the installation and it all worked great.

If you have the same problem try this line.

curl https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh && source ~/.k/kvm/kvm.sh && kvm upgrade

0 comments: