OSX dnvm error: command not found

I am new to OSX. After completing the step-by-step instructions from https://github.com/aspnet/home .

brew tap aspnet/dnx brew update brew install dnvm 

I had the following error while starting dnvm update:

 $ dnvm upgrade Error: -bash: dnvm: command not found 

I tried to find dnvm and it looks like it was successfully installed in the \ usr \ local directory.

Is there any step that I am missing?

+7
asp.net-core dnvm
source share
2 answers

run source dnvm.sh after brew install dnvm and try running dnvm . Preferably put this in your shell profile (for example, inside the .profile file) so that it is saved.

+10
source share

For this specific problem, such as the answer above, just run source dnvm.sh

If you want to get up and work with asp.net 5 on OSX, see how I fixed some problems in the way this blog tutorial can help

+1
source share

All Articles