# Install nexus with Homebrew, dnf, Nix, apt, winget

Repository manager for binary software components. Version 3.94.1-06 via Homebrew; verified 2026-07-25. Also installable with debian: sudo apt install libnexus-dev.

## Install

```sh
sudo av install brew:nexus
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nexus
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install nexus
```

  Evidence: Fedora Rawhide package metadata: nexus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nexus
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ne/nexus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libnexus-dev
```

  Evidence: Debian stable package indexes: libnexus-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- winget (92%):

```sh
winget install --id WinStep.Nexus -e
```

  Evidence: Windows Package Manager source index: WinStep.Nexus from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:nexus
- **Package manager:** Homebrew
- **Version:** 3.94.1-06
- **Source summary:** Repository manager for binary software components
- **Homepage:** <https://www.sonatype.com/>
- **Repository:** <https://github.com/sonatype/nexus-public>
- **Last updated:** 2026-07-25T00:35:09Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- nexus (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.94.1-06
## Project history and usage

The Homebrew `nexus` formula packages Sonatype Nexus Repository, a self-hosted binary repository manager. It is used to proxy, host, group, search, and govern artifacts and packages so builds use a local controlled source rather than reaching directly to every upstream registry.

### Project history

Nexus grew out of the Maven repository-manager era. Sonatype's own 2008 blog post argued for repository managers around Maven Central caching, build speed, and internal artifact sharing. Sonatype's Maven Central history says Sonatype was founded by Jason Van Zyl and Brian Fox in 2008 and later took over day-to-day Maven Central operations, including support for Nexus instances.

The public GitHub repository is described as the open-source Nexus Repository Core codebase. Its README says Core contains Maven, raw, and APT repository functionality with embedded H2 for small workloads, while the Community Edition binary adds formats such as npm, Docker, NuGet, and PyPI plus PostgreSQL support.

### Adoption history

Nexus is significant well beyond Homebrew's local install numbers because many teams run it as infrastructure rather than as a developer laptop tool. The GitHub mirror showed about 2.6k stars, 732 forks, 179 releases, and 78 contributors when researched. Sonatype's documentation lists repository formats across Maven, npm, Docker, PyPI, NuGet, Conda, Go, Helm, Rust/Cargo, Yum, APT, and others.

Homebrew's API generated on 2025-12-23 reported 628 installs-on-request in the preceding 365 days for the `nexus` formula. That is useful as formula demand, not as total Nexus adoption, because production deployments are often containers, archives, managed infrastructure, or vendor-provided binaries.

### How it is used

Package nerds install Nexus when they need a local artifact cache, a private release repository, or a single internal endpoint for multiple ecosystems. Typical work includes creating hosted/proxy/group repositories, pointing Maven/npm/Docker/etc. clients at Nexus, controlling cleanup policies and blob stores, backing up the data directory, and treating the service as part of CI/CD infrastructure.

The Homebrew formula installs a runnable `nexus` command and defines a service entry that starts `$HOMEBREW_PREFIX/opt/nexus/bin/nexus start`; the av.db source record correctly tracks the data directory properties and initial admin password file as operationally important paths.

### Why package nerds care

Nexus is a package-history anchor because it represents the enterprise repository-manager pattern: cache public registries, publish internal binaries, separate build reproducibility from public-network availability, and attach policy/security workflows to package retrieval.

### Timeline

- 2005: Sonatype's Maven Central history says the name Maven Central was officially coined.
- 2008: Sonatype was founded by Jason Van Zyl and Brian Fox.
- 2008-11-26: Sonatype published a repository-manager argument centered on Nexus and Maven Central usage.
- 2025-12-23: Homebrew formula API generated data for Nexus 3.80.0-06.
- 2026-06-25: GitHub release listing showed release-3.93.2-01 as the latest nexus-public release.

### Related projects

- Maven Central
- OSSRH
- Nexus Repository Core
- Nexus Repository Community Edition
- JFrog Artifactory

### Sources

- <https://formulae.brew.sh/api/formula/nexus.json>
- <https://github.com/sonatype/nexus-public>
- <https://help.sonatype.com/en/sonatype-nexus-repository.html>
- <https://www.sonatype.com/blog/2008/11/nine-reasons-to-use-a-repository-manager-sonatype-nexus>
- <https://www.sonatype.com/blog/the-history-of-maven-central-and-sonatype-a-journey-from-past-to-present>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $data-dir/etc/nexus.properties

## Credential files

- Unix: $data-dir/admin.password
## Other Package-Manager Records

- Debian apt - libnexus-dev - 4.4.3-7: normalized package name match | Debian stable package indexes: libnexus-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NeXus scientific data file format - development libraries | http://www.nexusformat.org/
- Debian apt - libnexus-java - 4.4.3-7: normalized package name match | Debian stable package indexes: libnexus-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NeXus scientific data file format - java libraries | http://www.nexusformat.org/
- Debian apt - libnexus-jni - 4.4.3-7: normalized package name match | Debian stable package indexes: libnexus-jni from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NeXus scientific data file format - JNI library | http://www.nexusformat.org/
- Debian apt - libnexus1 - 4.4.3-7: normalized package name match | Debian stable package indexes: libnexus1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NeXus scientific data file format - runtime libraries | http://www.nexusformat.org/
- Debian apt - nexus-tools - 4.4.3-7: normalized package name match | Debian stable package indexes: nexus-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NeXus scientific data file format - applications | http://www.nexusformat.org/
- Nix - nexus: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nexus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnexus-dev - 4.4.3-6build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnexus-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NeXus scientific data file format - development libraries | http://www.nexusformat.org/
- Ubuntu apt - libnexus-java - 4.4.3-6build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnexus-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NeXus scientific data file format - java libraries | http://www.nexusformat.org/
- Ubuntu apt - libnexus-jni - 4.4.3-6build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnexus-jni from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NeXus scientific data file format - JNI library | http://www.nexusformat.org/
- Ubuntu apt - libnexus1 - 4.4.3-6build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnexus1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NeXus scientific data file format - runtime libraries | http://www.nexusformat.org/
- Ubuntu apt - nexus-tools - 4.4.3-6build3: normalized package name match | Ubuntu 24.04 LTS package indexes: nexus-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NeXus scientific data file format - applications | http://www.nexusformat.org/
- dnf - nexus - 4.4.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: nexus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries and tools for the NeXus scientific data file format | http://www.nexusformat.org/
- dnf - nexus-devel - 4.4.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: nexus-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for nexus | http://www.nexusformat.org/
- dnf - nexus-tools - 4.4.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: nexus-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Applications for reading and writing NeXus files. | http://www.nexusformat.org/
- winget - WinStep.Nexus: normalized package name match | Windows Package Manager source index: WinStep.Nexus from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/nexus.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nexus.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
