How do you Install DNX on OSX using Homebrew?

余生颓废 提交于 2019-12-12 07:57:19

问题


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, 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)



来源:https://stackoverflow.com/questions/29398877/how-do-you-install-dnx-on-osx-using-homebrew

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!