Skip to content

Instantly share code, notes, and snippets.

@KristofferRisa
Last active May 4, 2024 00:39
Show Gist options
  • Save KristofferRisa/4cfd1ca3fec4e86e550c to your computer and use it in GitHub Desktop.
Save KristofferRisa/4cfd1ca3fec4e86e550c to your computer and use it in GitHub Desktop.
Choco install scripts

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

First install Chocolatey using cmd

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Then download and run the choco script

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/KristofferRisa/4cfd1ca3fec4e86e550c/raw/44c2d9c3fc02a5fdaa60cc098d0a559d4a33c1a1/choco-install-apps.ps1'))"

Or an alternative choco script specifically design for dev environment

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/KristofferRisa/4cfd1ca3fec4e86e550c/raw/44c2d9c3fc02a5fdaa60cc098d0a559d4a33c1a1/dev-install.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 Kristoffer
# Created 06.08.2015
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation
#choco install visualstudiocode
choco install notepadplusplus
#choco install wox
choco install 7zip
# choco install paint.net
## School stuff
#choco install mysql.workbench
#choco install nodejs
#choco install windirstat
#choco install virtualbox.extensionpack
#choco install winrar
choco install tor-browser
# DEV
#choco install yeoman
#choco install brackets
#choco install fiddler4
#choco install mongodb
#choco install github
#choco install nugetpackageexplorer
#choco install linqpad4
#choco install baretail
choco install opera
choco install vivaldi
# https://chocolatey.org/packages?sortOrder=package-download-count&page=12&prerelease=True&moderatorQueue=False
# DEVOPS
choco install sysinternals
choco install nmap
choco install ilspy
choco install filezilla
choco install putty
#choco install royalts
# choco install rdcman
choco feature disable -n allowGlobalConfirmation
# Install script for Kristoffer
# Created 06.08.2015
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation
# DEV
choco install notepadplusplus
choco install yeoman
choco install brackets
choco install fiddler4
choco install nodejs.install
choco install github
choco install linqpad4
choco install baretail
choco install wamp-server
# DEVOPS
choco install ilspy
choco install filezilla
choco install putty
#Misc
choco install 7zip
choco install paint.net
# Browsers
choco install google-chrome-x64
choco install opera
# Optional
#choco install mongodb
#choco install nugetpackageexplorer
#choco install rdcman
#choco install windowsazurepowershell
choco feature disable -n allowGlobalConfirmation
@kiquenet
Copy link

@KristofferRisa
Copy link
Author

check status for package (choco search: https://github.com/MrDKOz/HandyScripts/blob/12295ca13bf180612c2fb61c0710aaf8143eacfe/app-installer.ps1)

looks awesome! thanks for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment