

It not only makes the software installation easier but also allows us to get rid of the time consuming solution. If you are looking for Linux type of package management solution in Windows then chocolatey is the best you can think of. If ($ this article, we will see how to install chocolatey on Windows 10 using just few easy steps. If ($ignoreProxy -ne $null -and $ignoreProxy -eq 'true') $ignoreProxy = $env:chocolateyIgnoreProxy

# if you really want to see debugging output related to the $env:ChocolateyInstall = "$($env:SystemDrive)\ProgramData\Chocolatey" $ChocoInstallPath = "$($env:SystemDrive)\ProgramData\Chocolatey\bin" #$7zipUrl = '' (download this file, host internally, and update this to internal) # Built-in does not work with Server Core, but if you have PowerShell 5 # Make sure the version matches for the arguments as well. # 7zip is the most compatible, but you need an internally hosted 7za.exe. $localChocolateyPackageFilePath = 'c:\packages\chocolatey.0.10.0.nupkg'

# uncomment if you want to download the file from a remote OData (HTTP/HTTPS) internal url (such as Artifactory, Nexus, ProGet, or Chocolatey.Server)

# use an internal repository to download Chocolatey nupkg to the local path: If it is on a repository somewhere, you will need to enhance the below script to get that file (the Chocolatey Puppet provider install script shows that). Then you would run a script similar to the below to address that local install. You can put the chocolatey.nupkg on an internal package repository and then address that full path, similar to how you see in the Puppet provider.You can also download the latest version directly.Go to and find a version you want.Ĭlick on Download to download that version's nupkg file. The first step with offline is to obtain a copy of the Chocolatey Nupkg (nupkg files are just fancy zip files).With completely offline use of Chocolatey, you want to ensure you remove the default community package source ( choco source list followed by choco source remove -n chocolatey, or however you would do that with a configuration manager like Puppet).
