问题
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
回答1:
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, runbrew 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 understanddnvm
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
)
来源:https://stackoverflow.com/questions/29398877/how-do-you-install-dnx-on-osx-using-homebrew