Madu Alikor
Madu Alikor

Reputation: 2662

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

Upvotes: 8

Views: 4194

Answers (1)

Pawel
Pawel

Reputation: 31620

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)

Upvotes: 15

Related Questions