Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
9,911
Downloads of v 3.12.1.1:
642
Last Update:
19 Jul 2018
Package Maintainer(s):
Software Author(s):
- Sonatype
Tags:
nexus-repository maven nuget npm java rubygems docker eclipse p2 osgi obr apt yum rpm artifact bower ssl respository sonatype nexus admin- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Nexus Repository OSS
This is not the latest version of Nexus Repository OSS available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
9,911
Downloads of v 3.12.1.1:
642
Software Author(s):
- Sonatype
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Nexus Repository OSS 3.12.1.1
This is not the latest version of Nexus Repository OSS available.
All Checks are Passing
2 Passing Test
To install Nexus Repository OSS, run the following command from the command line or from PowerShell:
To upgrade Nexus Repository OSS, run the following command from the command line or from PowerShell:
To uninstall Nexus Repository OSS, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download nexus-repository --internalize --version=3.12.1.1 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade nexus-repository -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade nexus-repository -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure nexus-repository installed
win_chocolatey:
name: nexus-repository
state: present
version: 3.12.1.1
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'nexus-repository' do
action :install
version '3.12.1.1'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: nexus-repository,
Version: 3.12.1.1,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller nexus-repository
{
Name = 'nexus-repository'
Ensure = 'Present'
Version = '3.12.1.1'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'nexus-repository':
provider => 'chocolatey',
ensure => '3.12.1.1',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install nexus-repository version="3.12.1.1" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 19 Jul 2018.
Free open source version of popular Nexus Repository for binary artifacts including first class Nuget support.
Free OSS version supports advanced access control (groups, roles), LDAP and per-user api keys.
Nexus product does not have a built-in web gallery for components.
$packageid = "nexus-repository"
$version = '3.12.1-01'
$url = "http://download.sonatype.com/nexus/3/nexus-$version-win64.zip"
$checksum = 'b2b76d007933af0532a2e72c0699a9a48644d7c3'
$checksumtype = 'SHA1'
$silentargs = "-q -console -dir `"$installfolder`""
$validExitCodes = @(0)
$packageName= 'nexus-repository'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$OSBits = Get-ProcessorBits
If (!(Get-ProcessorBits -eq 64))
{
Throw "Sonatype Nexus Repository 3.0 and greater only supports 64-bit Windows."
}
$nexusversionedfolder = "nexus-$version"
$TargetFolder = "$env:programdata\nexus"
$ExtractFolder = "$env:temp\NexusExtract"
$TargetDataFolder = "$env:programdata\sonatype-work"
$NexusConfigFile = "$TargetDataFolder\nexus3\etc\nexus.properties"
$servicename = 'nexus'
$NexusPort = '8081'
$pp = Get-PackageParameters
if ($pp.Port) {
$NexusPort = $pp.Port
Write-Host "/Port was used, Nexus will listen on port $NexusPort."
}
If (Test-Path "$env:ProgramFiles\nexus\bin")
{
Throw "Previous version of Nexus 3 installed by setup.exe is present, please uninstall before running this package."
}
If ([bool](Get-Service $servicename -ErrorAction SilentlyContinue))
{
Write-Warning "Nexus web app is already present, shutting it down so that we can upgrade it."
Stop-Service $servicename -force
}
If (Test-Path "$ExtractFolder") {Remove-Item "$ExtractFolder" -Recurse -Force}
Install-ChocolateyZipPackage -PackageName $packageName -unziplocation "$ExtractFolder" -url $url -checksum $checksum -checksumtype $checksumtype -url64 $url -checksum64 $checksum -checksumtype64 $checksumtype
Copy-Item "$ExtractFolder\$nexusversionedfolder" "$TargetFolder" -Force -Recurse
If (!(Test-Path "$TargetDataFolder"))
{
Move-Item "$extractfolder\sonatype-work" "$TargetDataFolder"
}
else
{
Write-Warning "`"$TargetDataFolder`" already exists, not overwriting, residual data from previous installs will not be reset."
}
Remove-Item "$ExtractFolder" -Force -Recurse
Start-ChocolateyProcessAsAdmin -ExeToRun "$TargetFolder\bin\nexus.exe" -Statements "/install $servicename" -validExitCodes $validExitCodes
#Update Port
If ($NexusPort -ne '8081')
{
$service = Start-Service $servicename -PassThru
$Service.WaitForStatus('Running', '00:02:00')
Start-Sleep 120
If (Test-Path "$NexusConfigFile")
{
Write-Host "Configuring Nexus to listen on port $NexusPort."
(Get-Content "$NexusConfigFile") -replace "^#\s*application-port=.*$", "application-port=$NexusPort" | Set-Content "$NexusConfigFile"
Stop-Service $servicename
}
else
{
Write-Warning "Cannot find `"$NexusConfigFile`", skipping configuring Nexus to listen on port $NexusPort."
}
}
$service = Start-Service $servicename -PassThru
Write-Host "Waiting for Nexus service to be completely ready"
$Service.WaitForStatus('Running', '00:02:00')
If ($Service.Status -ine 'Running')
{
Write-Warning "The Nexus Repository service ($servicename) did not start."
}
else
{
#Even though windows reports service is ready - web url will not respond until Nexus is actually ready to serve content
Start-Sleep 120
}
Write-Warning "`r`n"
Write-Warning "*******************************************************************************************"
Write-Warning "*"
Write-Warning "* You MAY receive the error 'localhost refused to connect.' until Nexus is fully started."
Write-Warning "*"
Write-Warning "* You can manage the repository by visiting http://localhost:$NexusPort"
Write-Warning "* The default user is 'admin' with password 'admin123'"
Write-Warning "* Nexus availability is controlled via the service `"$servicename`""
Write-Warning "* Use the following command to open port $NexusPort for access from off this machine (one line):"
Write-Warning "* netsh advfirewall firewall add rule name=`"Nexus Repository`" dir=in action=allow "
Write-Warning "* protocol=TCP localport=$NexusPort"
Write-Warning "*******************************************************************************************"
$validExitCodes = @(0)
$packageName= 'nexus-repository'
$servicename = 'nexus'
$installfolder = "$env:programdata\Nexus"
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$validExitCodes = @(0)
If (Test-Path "$installfolder\bin\nexus.exe")
{
Stop-Service nexus -force
Start-ChocolateyProcessAsAdmin -ExeToRun "$installfolder\bin\nexus.exe" -Statements "/uninstall $servicename" -validExitCodes $validExitCodes
Remove-item "$installfolder" -recurse -force
}
Else
{
Write-warning "It appears that the uninstall may have been run outside of chocolatey, skipping..."
}
Log in or click on link to see number of positives.
- nexus-repository.3.12.1.1.nupkg (adea5b8d22cd) - ## / 60
- nexus-3.12.1-01-win64.zip (b9fce6a8b5bc) - ## / 58
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Nexus Repository OSS 3.29.1.01 | 127 | Wednesday, January 6, 2021 | Approved |
Nexus Repository OSS 3.27.0.03 | 525 | Friday, September 11, 2020 | Approved |
Nexus Repository OSS 3.25.1.02 | 289 | Thursday, July 30, 2020 | Approved |
Nexus Repository OSS 3.22.1.02 | 547 | Monday, April 20, 2020 | Approved |
Nexus Repository OSS 3.22.0.02 | 129 | Saturday, April 11, 2020 | Approved |
Nexus Repository OSS 3.21.2.03 | 154 | Friday, March 27, 2020 | Approved |
Nexus Repository OSS 3.21.1.01 | 243 | Saturday, March 14, 2020 | Approved |
Nexus Repository OSS 3.19.1.20191118 | 556 | Tuesday, November 19, 2019 | Approved |
Nexus Repository OSS 3.19.1.01 | 213 | Sunday, October 13, 2019 | Approved |
Nexus Repository OSS 3.18.1.01 | 241 | Saturday, August 24, 2019 | Approved |
Nexus Repository OSS 3.15.2.01 | 618 | Thursday, March 14, 2019 | Approved |
Nexus Repository OSS 3.14.0.4 | 340 | Thursday, January 10, 2019 | Approved |
Nexus Repository OSS 3.12.1.1 | 642 | Thursday, July 19, 2018 | Approved |
Nexus Repository OSS 3.11.0.1 | 344 | Wednesday, May 9, 2018 | Approved |
Nexus Repository OSS 3.9.0.20180301 | 299 | Friday, March 23, 2018 | Approved |
Nexus Repository OSS 3.9.0.01 | 272 | Saturday, March 10, 2018 | Approved |
Nexus Repository OSS 3.8.0.02 | 271 | Thursday, February 22, 2018 | Approved |
Nexus Repository OSS 3.7.1.02 | 359 | Friday, December 29, 2017 | Approved |
Nexus Repository OSS 3.6.0.02 | 359 | Thursday, November 2, 2017 | Approved |
Nexus Repository OSS 3.5.2.01 | 384 | Saturday, September 23, 2017 | Approved |
Nexus Repository OSS 3.3.2.02 | 524 | Tuesday, June 27, 2017 | Approved |
Nexus Repository OSS 3.0.2.02 | 761 | Saturday, September 24, 2016 | Approved |
Nexus Repository OSS 3.0.1.01 | 375 | Saturday, July 30, 2016 | Approved |
Nexus Repository OSS 3.0.0.03 | 342 | Friday, April 8, 2016 | Approved |
Nexus Repository OSS 3.0.0-m7-1 | 324 | Friday, February 26, 2016 | Exempted |
Nexus Repository OSS 3.0.0-m7 | 333 | Friday, February 26, 2016 | Exempted |
Nexus Repository OSS 2.12.0.01 | 340 | Friday, February 26, 2016 | Approved |
Sonatype
https://help.sonatype.com/display/NXRM3/2018+Release+Notes
Packaging
3.9.0.20180301
- Supports "Port" parameter for changing nexus repository listening port
3.6.0.02
- improved service startup checking
- cleaner uninstall
ATTENTION BRAKING CHANGE FOR UPGRADES FROM VERSIONS BEFORE 3.3.2.02
Nexus no longer provided a setup.exe for installing Nexus Repository 3.x on Windows.
If you previously installed with a package that used the setup.exe, you must manually uninstall it first. (you can use chocolatey uninstall if installed by chocolatey)
Once you are on 3.3.2.02 or later, upgrades will work smoothly.
Ground Rules:
- This discussion is only about Nexus Repository OSS and the Nexus Repository OSS package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Nexus Repository OSS, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.