# Install newrelic-infra-agent with Homebrew, chocolatey

New Relic infrastructure agent. Version 1.77.1 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:newrelic-infra-agent
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install newrelic-infra-agent
```

  Evidence: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install newrelic-infra
```

  Evidence: Chocolatey community package catalog: newrelic-infra from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','naps2'

## Package facts

- **Package key:** brew:newrelic-infra-agent
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/newrelic-infra-agent>
- **Version:** 1.77.1
- **Source summary:** New Relic infrastructure agent
- **Homepage:** <https://github.com/newrelic/infrastructure-agent>
- **Repository:** <https://github.com/newrelic/infrastructure-agent>
- **Upstream docs:** <https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/newrelic/infrastructure-agent.git>
- **Last updated:** 2026-06-30T12:38:02Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- newrelic-infra (cli)
- newrelic-infra-ctl (cli)
- newrelic-infra-service (cli)
- newrelic-infra (alias)
- newrelic-infra-ctl (alias)
- newrelic-infra-service (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.77.1
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/newrelic/infrastructure-agent
- info: No cached GitHub release or tag data was available.
## Project history and usage

New Relic Infrastructure Agent is the host-side collector for New Relic's infrastructure monitoring product. It collects host inventory and metrics and sends them to the New Relic platform, tying bare metal, virtual machines, cloud hosts, Docker/container runtimes, and operating-system state into New Relic's observability data model.

### Project history

New Relic announced New Relic Infrastructure on November 7, 2016, with general availability scheduled for November 16, 2016. The launch pitch centered on dynamic infrastructure: cloud instances, Docker containers, changing host configuration, and the need to correlate configuration changes with health metrics. The open source agent repository is the implementation that makes that product useful on machines.

### Adoption history

Adoption follows New Relic's commercial footprint more than a hobbyist CLI pattern. The agent is packaged for multiple operating systems and is documented for manual installs, containers, and larger fleet-management approaches. Companion configuration-management projects such as New Relic's Chef and Puppet tooling exist because the usual user is operating a fleet, not installing a one-off desktop utility.

Homebrew is a secondary distribution channel for this package, mostly useful for macOS hosts, test machines, and developers who want a bottled agent. Homebrew analytics reported 211 installs in 30 days, 560 in 90 days, and 2,576 in 365 days for the formula when queried on July 1, 2026.

### How it is used

Package nerds install it when they need a real New Relic host entity: set a New Relic license key/profile configuration, run the service, and let the agent report CPU, memory, disk, process, inventory, container, and integration data. On developer machines it is also useful for checking agent behavior, config-file paths, and packaging changes before rolling the same version across Linux or Windows fleets.

The operational habit is to keep it updated: New Relic's release notes repeatedly tell users to upgrade regularly, and the agent has a fast cadence of dependency, integration, Fluent Bit/logging, security, and platform-support changes.

### Why package nerds care

This is not a general-purpose monitoring daemon so much as a packaged endpoint for a vendor ecosystem. Its significance in av.db is that secrets and configuration are concentrated in predictable files such as newrelic-infra.yml, and the installed executables are service/control-plane tools rather than ad hoc user commands.

### Timeline

- 2016-11-07: New Relic announced New Relic Infrastructure.
- 2016-11-16: New Relic Infrastructure general availability was scheduled at launch.
- 2026-07-01: Homebrew formula version observed as 1.77.1, with 2,576 formula installs over the preceding 365-day analytics window.

### Related projects

- newrelic/infrastructure-agent-chef
- newrelic/infrastructure-agent-puppet
- newrelic/nri-docker
- New Relic Infrastructure Monitoring

### Sources

- <https://docs.newrelic.com/docs/infrastructure/choose-infra-install-method/>
- <https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes/>
- <https://formulae.brew.sh/api/formula/newrelic-infra-agent.json>
- <https://github.com/newrelic/infrastructure-agent>
- <https://newrelic.com/press-release/20161107-3>


## Security Notes

formula declares a Homebrew service. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service
- infrastructure mutation or orchestration signal


## 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

- Linux: /etc/newrelic-infra.yml
- macOS: /usr/local/etc/newrelic-infra.yml, /opt/homebrew/etc/newrelic-infra.yml

## Credential files

- Linux: /etc/newrelic-infra.yml
- macOS: /usr/local/etc/newrelic-infra.yml, /opt/homebrew/etc/newrelic-infra.yml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** newrelic-infra-agent
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Chocolatey - newrelic-infra: installed executable or alias match | Chocolatey community package catalog: newrelic-infra from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','naps2'


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [mcp-grafana](https://www.automicvault.com/pkg/brew/mcp-grafana/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring, observability.
- [grizzly](https://www.automicvault.com/pkg/brew/grizzly/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [logcli](https://www.automicvault.com/pkg/brew/logcli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [mimirtool](https://www.automicvault.com/pkg/brew/mimirtool/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [sloth-cli](https://www.automicvault.com/pkg/brew/sloth-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [swctl](https://www.automicvault.com/pkg/brew/swctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [prometheus](https://www.automicvault.com/pkg/brew/prometheus/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring, observability.
- [bosh-cli](https://www.automicvault.com/pkg/brew/bosh-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure.
- [newrelic-cli](https://www.automicvault.com/pkg/brew/newrelic-cli/) - Package names and metadata indicate a similar tool family. Shared terms: cli, monitoring, new, new-relic, newrelic.
- [kubespy](https://www.automicvault.com/pkg/brew/kubespy/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, observability.

## Combined YAML source

View the package source record on GitHub. [combined/newrelic-infra-agent.yml](https://github.com/automic-vault/db/blob/main/combined/newrelic-infra-agent.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
