Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save davehorner/756e63921450b34dd8bcd13bf97fedf6 to your computer and use it in GitHub Desktop.

Select an option

Save davehorner/756e63921450b34dd8bcd13bf97fedf6 to your computer and use it in GitHub Desktop.
Install Chocolatey and Scoop package managers for Windows + basic set of utilities and software
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" `
-propertyType ExpandString `
-name "SCOOP_GLOBAL" `
-value "%PROGRAMDATA%\scoop"
Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression
scoop bucket add Extras
scoop bucket add Nirsoft
'scoop install sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1
Start-Process PowerShell -verb RunAs -argument "-noProfile; $(Convert-Path .\temp_script.ps1)"
Remove-Item temp_script.ps1 -force
sudo Invoke-WebRequest 'https://chocolatey.org/install.ps1' | Invoke-Expression
refreshEnv
pushd "${env:ChocolateyInstall}\tools"
sudo .\shimgen --output="..\bin\shimgen.exe" --path="..\tools\shimgen.exe" | Out-Null
popd
# Basic utilities
sudo choco install 7zip.install 7zip.commandline -y -pre
# Libraries
sudo choco install VcRedist-All JRE8
# Registry and Environment Utilities
sudo choco install Rapidee RegistryManager -y
# Shells, Terminals and launchers
sudo choco install CmderMini Keypirinha LinkShellExtension Putty Streams -y
# Text editors, finders and organizers
sudo choco install NotepadPlusPlus.install --x86 -y
sudo shimgen --output="${env:ChocolateyPath}\bin\npp.exe" `
--path="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" `
--iconPath="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" `
--gui
sudo choco install Everything Ditto.install -y
# Internet
sudo choco install QbitTorrent GoogleChrome -y
# Media viewers / managers
sudo choco install SumatraPDF.install Calibre Vlc Foobar2000 Fsviewer Dropbox -y
# Development IDEs
sudo choco install Webstorm Phpstorm -y
# Development tools
sudo choco install Kdiff3 Winscp.portable Lepter -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment