chocolatey install specific version code example

Example: choco install specific version

# Make sure you run commands as Administrator, and that you have uninstalled
# the package if it was previously installed with its MSI installer.

# You might need to uninstall the previous package first

# PowerShell
choco uninstall PACKAGE; choco install PACKAGE --version=VALUE -y

# CMD
choco uninstall PACKAGE && choco install PACKAGE --version=VALUE -y


# If automatic package removal is available
choco install PACKAGE --version=VALUE --allow-downgrade -y