

For more information, see the Workload and component IDs page.

For finer-grained control, you can append includeRecommended or includeOptional to the ID (for example, -add Workload1 includeRecommended or -add Workload2 includeRecommended includeOptional). To include multiple workloads or components, repeat the -add command (for example, -add Workload1 -add Workload2). You can control additional components globally using -includeRecommended and/or -includeOptional parameters. The required components of the artifact are installed, but not the recommended or optional components.
#INSTALL FULL VISUAL STUDIO FOR MAC INSTALL#
Optional: During an install or modify command, this repeatable parameter specifies one or more workload or component IDs to add.
#INSTALL FULL VISUAL STUDIO FOR MAC UPDATE#
For other commands like update or modify, this parameter is Required and denotes the installation directory for the instance to act upon. Parametersįor the default install command, this parameter is Optional and describes where the instance will be installed on the client machine. When specifying multiple distinct workloads or components or languages, you must repeat the -add or -remove command-line switch for each item. Note: Can only be used with vs_installer.exe.

The default command both installs the product, and it is used for all layout maintenance operations.Įxports installation selection to an installation configuration file. All Visual Studio command-line parameters are case-insensitive, and additional examples can be found on the Command-line parameter examples page. The subsequent optional command line parameters, which are all prefixed by two dashes (-), further define how that operation is supposed to happen. When invoking the Visual Studio bootstrapper programmatically to install the product or to maintain a layout, the first parameter is the command (the verb) that describes the operation to perform. Bootstrapper commands and command-line parameters Applying administrator updates will not initiate a brand new installation. Administrator updates presumes that Visual Studio is already installed on the computer. You can get the administrator update by going to the Microsoft Update Catalog, search for the update you want to install, and press the Download button. To match that number to a release of Visual Studio, refer to the Visual Studio 2022 Releases page. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. If you previously downloaded a bootstrapper file and want to verify its version, here's how.
