How to update VS 2019 comunity from command line

 You can quietly update your community version of Visual studio.

Here is command (adjust it based on your installation):

"c:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe" update --quiet --passive --norestart --installpath "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community"


Here is list possible commands:

  • install
  • update
  • modify
  • resume
  • uninstall
  • repait
  • export


Here is list of possible option:

  •  --add. Usage: The advertised component or workload ID to add
  •  --productKey. Usage: The license product key for the product. Composed of 25 alphanumeric characters either in the format 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx' or 'xxxxxxxxxxxxxxxxxxxxxxxxx'
  •  --previewUpdate. Usage: Shows information about the update before starting
  •  --focusedUi. Usage: Opens the installer in a focused installation mode
  •  --flight. Usage: The flights to enable, along with their duration e.g. flight1;7d
  •  --updateVersion. Usage: The version of the update to apply
  •  --installPath. Usage: The path to the installation to update
  •  --installLayoutPath. Usage: The path to the layout to use for installation packages for the update
  •  --installCatalogUri. Usage: The URI or path to the catalog to use for the update
  •  --vsix. Usage: The URI or path to additional vsixs to install
  •  --installWhileDownloading. Usage: Enables parallel install and download
  •  --downloadThenInstall. Usage: Downloads all packages before installing
  •  --path. Usage: Sets the custom path using a key=value pair e.g. --path cache=C:\\cachePath
  •  --passive, --p. Usage: The command executes immediately without user interaction, showing UI
  •  --quiet, --q. Usage: The command executes immediately without user interaction, without creating UI
  •  --norestart. Usage: Prevents a quiet/passive operation from rebooting automatically, if required
  •  --channelUri. Usage: The URI or path to the channel manifest to use for updates
  •  --installChannelUri. Usage: The URI or path to the channel manifest to use for the installation
  •  --channelId. Usage: The ID of the channel containing the product to install
  •  --productId. Usage: The ID of the product to install
  •  --layoutPath. Usage: The path to the layout to use for installation packages
  •  --campaign. Usage: The ID for campaign tracking
  •  --activityId. Usage: The ID of the related process that started the installer
  •  --devenvLaunchArguments. Usage: The arguments to pass on to devenv
  •  --in. Usage: The path to the response file to use for the operation
  •  --noUpdateInstaller. Usage: Prevents the installer from automatically updating if an update is required
  •  --cache. Usage: Specifies that payloads should be cached on the system
  •  --nocache. Usage: Specifies that payloads should be deleted from the system
  •  --noWeb. Usage: Prevents the installer from downloading any payloads
  •  --force. Usage: Forces any running, blocking exes to shutdown before starting the operation
  •  --installerFlight. Usage: Flights to enable for the installer, along with their duration e.g. flight1;7d
  •  --theme. Usage: Changes the color theme of the installer
  •  --locale. Usage: Sets the UI locale

Comments

Popular posts from this blog

Tesseract LSTM training (aka Makefile training)