How to get the “dnu” command working on OS X?

前端 未结 5 654
生来不讨喜
生来不讨喜 2021-01-30 05:16

Just downloaded and installed Visual Studio Code on OS X 10.10.3.

I\'ve managed to partially follow the installation instructions for ASP.NET 5.

What I fail with

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 05:32

    After read this issue in GitHub:

    GitHub Issue

    Run nano ~/.bash_profile

    Add:

    export PATH="~/npm-global/bin:$PATH" 
    source dnvm.sh
    

    Edit: It not solve the problem at all... when I try to update the Nuget Packages using dnvm command (is the purpose of dnx restore), I have other error:

    Error: Could not find latest version from feed https://nuget.org/api/v2

提交回复
热议问题