Use choco upgrade, not choco install (#3684)

* Use `choco upgrade`, not `choco install` and add `--version` for Python

* Update install_windows.rst

* actually, nah
This commit is contained in:
jack1142 2020-03-28 16:08:25 +01:00 committed by GitHub
parent 41c2b76d8d
commit a4ce2d01ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,15 +26,15 @@ Then run each of the following commands:
Set-ExecutionPolicy Bypass -Scope Process -Force Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install git --params "/GitOnlyOnPath /WindowsTerminal" -y choco upgrade git --params "/GitOnlyOnPath /WindowsTerminal" -y
choco install visualstudio2019-workload-vctools -y choco upgrade visualstudio2019-workload-vctools -y
choco install python3 -y choco upgrade python3 -y
For Audio support, you should also run the following command before exiting: For Audio support, you should also run the following command before exiting:
.. code-block:: none .. code-block:: none
choco install adoptopenjdk11jre -y choco upgrade adoptopenjdk11jre -y
From here, exit the prompt then continue onto `creating-venv-windows`. From here, exit the prompt then continue onto `creating-venv-windows`.