Update dotnet cli in Mac OSX

chemitaxis picture chemitaxis · Jul 29, 2016 · Viewed 8.4k times · Source

Im'm trying to upgrade my dotnet cli. I have installed in my Mac (OS El Capitan) from the official link.

But when I try to view the version with this code:

dotnet --version

My output:

1.0.0-preview2-003121

How can I upgrade?

Answer

svick picture svick · Jul 29, 2016

The version 1.0.0-preview2-003121 of the .Net CLI is currently the latest released version. So there is no newer released version to upgrade to.

You could upgrade to the latest build from the dotnet/cli repo, but you probably shouldn't, since that's not a released version.