Windows package manager

From Ever changing code
Revision as of 11:07, 2 November 2018 by Pio2pio (talk | contribs) (Created page with "Chocolatey is a package manager for Windows like apt-get or yum but for Windows. With all of this in mind, think of Chocolatey as a framework that you can build on top of. Che...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chocolatey is a package manager for Windows like apt-get or yum but for Windows. With all of this in mind, think of Chocolatey as a framework that you can build on top of. Chef, Puppet, Boxstarter, PowerShell DSC, Ansible, Saltstack, etc all have ways for using Chocolatey to ensure the state of a computer and packages installed. Even Microsoft has decided to use Chocolatey's framework with the PowerShell PackageManagement / OneGet package manager aggregator.

Install

Update-ExecutionPolicy -Policy Unrestricted
#Install Chocolatey
iex ((new-object net.webclient).DownloadString("http://chocolatey.org/install.ps1")) 
#Reload profile
. $profile

Usage

choco install <pkg|packages.config> [<pkg2> <pkgN>] [<options/switches>]
cinst <pkg|packages.config> [<pkg2> <pkgN>] [<options/switches>]

choco uninstall <pkg|all> [pkg2 pkgN] [options/switches]
cuninst <pkg|all> [pkg2 pkgN] [options/switches]

choco list --local-only

Install packages

cinst fiddler4 #SSL packet inspection termination point and logging 
cinst putty 7zip atom
#cinst git-credential-winstore #old use: Git Credential Manager for Windows
cinst git-credential-manager-for-windows
cinst poshgit #git prompt in PowerShell teminal
cinst console-devel
cinst sublimetext2 #add npp++
cinst notepadplusplus 
cinst vlc
cinst winmerge #add kdiff3
cinst googlechrome #add firefox
cinst sourcetree
cinst resharper
Install-ChocolateyVsixPackage VS-Color-Output https://visualstudiogallery.msdn.microsoft.com/f4d9c2b5-d6d7-4543-a7a5-2d7ebabc2496/file/63103/9/VSColorOutput.vsix
cinst visualstudiocode
cinst nodejs.install
cinst dotpeek

Windows desktop developer settings

#Set-WinUserLanguageList -LanguageList en-GB
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-RemoteDesktop
#Set-StartScreenOptio=ns -EnableBootToDesktop
#Move-LibraryDirectory "Personal" "$env:UserProfile\<userName>\documents"
#Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder
#Set-TaskbarOptions -Size Small -Lock -Dock Top -Combine Always
#Install-WindowsUpdate -AcceptEula

Resources