Blog Post

Installing dnvm command not found, dnu command not found

Wednesday, March 23, 2016 4:42 PM

Installing ASP.NET

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

Command fails

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.

-bash: dnu: command not found

What helped, was Jed Grant's comment and link to this GitHub discussion.

source dnvm.sh
dnvm upgrade -u

 

And suddenly the "dnu" command was available so that I could run

dnu restore

As the installation instructions told me.

Blog
Products
Error pages
Links and tools