Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you Install DNX on OSX using Homebrew?

Hello Since the big rename of k to dnx I have no idea how to install the tools on my mac?

the documentation on the dev branch has not been updated to reflect the big rename

https://github.com/aspnet/Home/tree/dev

like image 298
Madu Alikor Avatar asked Apr 01 '15 19:04

Madu Alikor


1 Answers

The homebrew-k was updated recently to support dnvm. Here the instructions:

  • Install Homebrew if it is not already installed.
  • Run command brew tap aspnet/k to tap the ASP.NET 5 related git repositories. If you had already tapped the repo for previous releases, run brew untap aspnet/k to delete the old commands and tap again to get the updated brew scripts
  • Run command brew install dnvm to install dnvm. This will automatically install the latest DNX package from https://www.nuget.org/api/v2 feed
  • Run command source dnvm.sh on your terminal if your terminal cannot understand dnvm

EDIT

Homebrew-K was renamed to Homebrew-dnx so now you should use

brew tap aspnet/dnx

If you tapped aspnet/k it is probably not a bad idea to untap it (brew untap aspnet/k) and update brew (brew update)

like image 51
Pawel Avatar answered Sep 22 '22 03:09

Pawel