Search code examples
asp.net-corednvm

OSX Error dnvm: command not found


I am newbie to OSX. After following the step by step instructions from https://github.com/aspnet/home.

brew tap aspnet/dnx
brew update
brew install dnvm

I got the following error when I run dnvm upgrade:

$ dnvm upgrade

Error:
-bash: dnvm: command not found

I have tried locate the dnvm and looks like it is successfully installed in the \usr\local directory.

Is there a step I am missing?


Solution

  • run source dnvm.sh after brew install dnvm and try to run dnvm then. Preferably, put this on your shell profile (e.g. inside .profile file) so that it will persist.