Skip to content

Instantly share code, notes, and snippets.

@sergebat
Created June 2, 2021 11:29
Show Gist options
  • Save sergebat/8609ed0ec4b25b48ee76450647676d45 to your computer and use it in GitHub Desktop.
Save sergebat/8609ed0ec4b25b48ee76450647676d45 to your computer and use it in GitHub Desktop.
Install all my Windows software with https://chocolatey.org/ package manager
rem Check admin permissions
echo off
net session >nul 2>&1
if %errorLevel% == 0 (
echo Elevated command prompt confirmed
) else (
echo This script can only run from the ELEVATED command prompt.
echo Press Windows-X and launch (Command Line - Administrator)
exit 1
)
rem Install https://chocolatey.org/ (if not already installed)
choco --version
if %errorLevel% == 0 (
echo Choco appears to be installed correctly, proceeding with install/upgrade
) else (
echo Choco not found, trying to install
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco --version
if %errorLevel% == 0 (
echo Now choco appears to be installed correctly, proceeding with install/upgrade!
) else (
echo Choco still not found after the installation attempt. Please try to install it manually as per the guide here:
echo https://docs.chocolatey.org/en-us/choco/setup
exit 1
)
)
rem Proceed with software installation
echo on
rem Drivers
choco install nvidia-display-driver -y
rem Browsers
choco install googlechrome -y
choco install opera -y
choco install firefox -y
rem Security
choco install keepassxc -y
choco install veracrypt -y
rem Clouds
choco install dropbox -y
choco install --ignore-checksums google-backup-and-sync
rem Messengers
choco install slack -y
choco install telegram -y
rem Utilities
choco install 7zip -y
choco install putty -y
choco install autohotkey -y
choco install wiztree
rem Media
choco install aimp -y
choco install ffmpeg -y
choco install qbittorrent -y
choco install audacity -y
rem Games
choco install epicgameslauncher -y
choco install minecraft-launcher -y
rem Dev
choco install vscode -y
choco install git -y
choco install screentogif -y
choco install blender -y
choco install unity-hub -y
rem Customer specific
choco install p4v -y
choco install awscli -y
rem Work
choco install toggl -y
choco install zoom -y
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment