asp.net-core.net-core

Command line to install/upgrade .NET Core


Are there command line commands to install or upgrade .NET Core?

I checked to see if I had .NET Core was installed on my computer using dotnet --version only to notice that I still had the preview version installed on my computer. I was wondering if I could issue some commands to upgrade it to the latest version.


Solution

  • There is no dotnet command to update .Net Core. Instead, you should use the same approach you used to install it in the first place, which depends on your OS.