Skip to content

Instantly share code, notes, and snippets.

@leecolarelli
Forked from KristofferRisa/choco-install-apps.ps1
Last active December 15, 2021 20:51
Show Gist options
  • Select an option

  • Save leecolarelli/114dde289fd34e518ffb5f944f943ed1 to your computer and use it in GitHub Desktop.

Select an option

Save leecolarelli/114dde289fd34e518ffb5f944f943ed1 to your computer and use it in GitHub Desktop.
Windows 10 Installation with Chocolatey Package Manager

Chocolatey-logo

Chocolatey Install Scripts

Chocolatey is a package manager for windows, allowing you to install apps with a single command. This is how you install git using chocolatey: choco install git

See github repo

Usage

Install Chocolatey with cmd.exe

Run the following command:

@"%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"

Then run choco-install-apps.ps1 to install Windows apps

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/leecolarelli/114dde289fd34e518ffb5f944f943ed1/raw/6cae8f74d2771246591c2bb0793ef78093ca3870/choco-install-apps.ps1'))"

Documentation

Please see the wiki

Give choco.exe /? a shot (or choco.exe -h). For specific commands, add the command and then the help switch e.g. choco.exe install -h.

Requirements

  • .NET Framework 4.0
  • PowerShell 2.0+

More information

Check out Chocolatey's homepage or this github repo.

# Install script for leecolarelli
# Created 03.07.2020
# Packages can be found here - https://chocolatey.org/packages
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation
# Install all the packages
# -f force install and -y confirm yes for any prompt during the install process
# dev apps
choco install php -fy
choco install composer -fy
choco install nodejs -fy
choco install git -fy
# choco install mariadb -fy (not currently used)
# choco install visualstudiocode -fy (not currently used)
choco install gitkraken -fy
# choco install virtualbox -fy (not currently used)
# choco install vagrant -fy (not currently used)
# choco install cyberduck -fy (not currently used)
choco install docker-desktop -fy
choco install 7zip -fy
choco install python -fy
choco install phpstorm -fy
choco install tableplus -fy
# communication apps
# choco install slack -fy (not currently used)
choco install discord -fy
choco install zoom -fy
choco install whatsapp -fy
# productivity apps
choco install adobe-creative-cloud -fy
choco install dropbox -fy
# windows
choco install powertoys -fy
choco install malwarebytes -fy
choco install f.lux -fy
# security
choco install 1password -fy
# browsers
choco install firefox-dev --pre -fy
choco install firefox -fy
choco install googlechrome -fy
choco feature disable -n allowGlobalConfirmation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment