How to install visual studio 2017 from command prompt?
- Get the appropriate version of installer from here Command line parameters to install visual studio
Navigate to the installer from command line. Then use the executable with the following signature.
vs_enterprise.exe [command] <options>
When you keep the command
blank, it installs the product.
To install VS with the Windows10 SDK 15063 Desktop and NuGet version without restarting the computer, you can use the following command:
.vs_enterprise.exe
--add Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop
--add Microsoft.VisualStudio.Component.NuGet
--norestart
- More details about Command Line Parameter Examples