How do you Install DNX on OSX using Homebrew?

后端 未结 1 1872
故里飘歌
故里飘歌 2021-02-15 17:40

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 ren

1条回答
  •  时光说笑
    2021-02-15 18:11

    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)

    0 讨论(0)
提交回复
热议问题