dotnet-vs
1.3.0
dotnet tool install --global dotnet-vs --version 1.3.0
dotnet new tool-manifest
dotnet tool install --local dotnet-vs --version 1.3.0
#tool dotnet:?package=dotnet-vs&version=1.3.0
nuke :add-package dotnet-vs --version 1.3.0
<h1 id="dotnet-vs"><img src="https://raw.githubusercontent.com/devlooped/dotnet-vs/main/docs/img/icon.svg" alt="icon" height="32" width="32" style="vertical-align: text-top; border: 0px; padding: 0px; margin: 0px"> dotnet-vs</h1>
A global tool for running, managing and querying Visual Studio installations
Installing or updating (same command for both):
dotnet tool update -g dotnet-vs
To get the CI version:
dotnet tool update -g dotnet-vs --no-cache --add-source https://pkg.kzu.app/index.json
Command line parsing is done with Mono.Options so
all the following variants for arguments are supported: -flag, --flag, /flag, -flag=value, --flag=value,
/flag=value, -flag:value, --flag:value, /flag:value, -flag value, --flag value, /flag value.
Supported commands:
{Commands}
Workload ID switches
For commands that receive workload ID switches (i.e. vs where -requires [WORKLOAD_ID] or
vs install --add [WORKLOAD_ID]), the following aliases are available:
| Alias | Workload ID |
|---|---|
mobile |
Microsoft.VisualStudio.Workload.NetCrossPlat |
xamarin |
Microsoft.VisualStudio.Workload.NetCrossPlat |
maui |
Microsoft.VisualStudio.Workload.NetCrossPlat |
core |
Microsoft.NetCore.Component.DevelopmentTools |
azure |
Microsoft.VisualStudio.Workload.Azure |
data |
Microsoft.VisualStudio.Workload.Data |
desktop |
Microsoft.VisualStudio.Workload.ManagedDesktop |
unity |
Microsoft.VisualStudio.Workload.ManagedGame |
native |
Microsoft.VisualStudio.Workload.NativeDesktop |
web |
Microsoft.VisualStudio.Workload.NetWeb |
node |
Microsoft.VisualStudio.Workload.Node |
office |
Microsoft.VisualStudio.Workload.Office |
py |
Microsoft.VisualStudio.Workload.Python |
python |
Microsoft.VisualStudio.Workload.Python |
uwp |
Microsoft.VisualStudio.Workload.Universal |
vsx |
Microsoft.VisualStudio.Workload.VisualStudioExtension |
The aliases are converted to the appropriate switch automatically, such as into
-requires [ID] or --add [ID]. Additionally, depending on the command being run,
the aliases might use a + prefix (like +mobile), which might make for a more
intuitive command line, such as vs install +mobile -sku:enterprise or vs +mobile
(runs the VS with the mobile workload installed). The modify command uses + and -
prefix to add or remove workloads respectively, for example.
Sponsors
<h3 style="vertical-align: text-top" id="by-clarius"> <img src="https://raw.githubusercontent.com/devlooped/oss/main/assets/images/sponsors.svg" alt="sponsors" height="36" width="36" style="vertical-align: text-top; border: 0px; padding: 0px; margin: 0px"> by <a href="https://github.com/clarius">@clarius</a> <img src="https://raw.githubusercontent.com/clarius/branding/main/logo/logo.svg" alt="sponsors" height="36" width="36" style="vertical-align: text-top; border: 0px; padding: 0px; margin: 0px"> </h3>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.0 | 203 | 6/24/2026 |
| 1.2.0 | 100,619 | 8/18/2022 |
| 1.1.1 | 5,322 | 11/5/2021 |
| 1.1.0 | 5,465 | 8/10/2021 |
| 1.0.0 | 2,444 | 2/1/2021 |
| 0.9.4 | 1,993 | 1/4/2021 |
| 0.9.3 | 2,016 | 12/21/2020 |
| 0.9.2 | 1,789 | 12/9/2020 |
| 0.9.1 | 1,718 | 12/9/2020 |
| 0.9.0 | 1,816 | 12/8/2020 |
| 0.3.89 | 1,948 | 11/20/2020 |
| 0.3.88 | 1,642 | 11/20/2020 |
| 0.3.87 | 2,264 | 11/4/2020 |
| 0.3.86 | 1,610 | 10/29/2020 |
| 0.3.85 | 1,791 | 10/24/2020 |
| 0.3.83 | 1,889 | 10/9/2020 |
| 0.3.82 | 1,786 | 9/30/2020 |
| 0.3.81 | 1,956 | 9/30/2020 |
| 0.3.80 | 1,919 | 9/22/2020 |