# Install newrelic-cli with Homebrew, chocolatey

Command-line interface for New Relic. Version 0.112.15 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:newrelic-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install newrelic-cli
```

  Evidence: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install newrelic-cli
```

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

## Package facts

- **Package key:** brew:newrelic-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/newrelic-cli>
- **Version:** 0.112.15
- **Source summary:** Command-line interface for New Relic
- **Homepage:** <https://github.com/newrelic/newrelic-cli>
- **Repository:** <https://github.com/newrelic/newrelic-cli>
- **Upstream docs:** <https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/new-relic-cli>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/newrelic/newrelic-cli/archive/refs/tags/v0.112.15.tar.gz>
- **Last updated:** 2026-06-30T21:30:45Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- newrelic (cli)
- newrelic (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.112.15
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/newrelic/newrelic-cli
- Upstream latest detected: v0.112.15 (current)
## Project history and usage

newrelic-cli is New Relic's officially supported command-line interface, released as part of the New Relic Developer Toolkit. It exposes New Relic operational workflows from the terminal and automation scripts.

### Project history

The CLI lives in newrelic/newrelic-cli and is written in Go. The upstream README describes it as a consolidation point for tools that manage New Relic resources, with early scope around entity search, entity tagging, and deployment markers. The release feed shows rapid patch releases through June 2026, including v0.112.15 on 2026-06-30; Homebrew reported the same stable version on 2026-07-01.

### Adoption history

Adoption follows New Relic's SaaS ecosystem rather than a language community. Homebrew analytics reported 641 install-on-request events over 30 days, 1,940 over 90 days, and 6,196 over 365 days, plus small `--HEAD` usage. The README also documents macOS Homebrew, Windows Scoop and Chocolatey, Linux Snap, prebuilt binaries, signed checksums, and an official Docker image, so Homebrew is only one packaging channel.

### How it is used

New Relic's docs describe using the CLI to manage entity tags, define workloads, record deployment markers, and automate common DevOps tasks. The getting-started flow includes configuring credentials, searching for an application, creating entity tags, reading tags back, and creating an APM deployment marker with a revision such as `git describe --tags --always`.

Package nerds use `newrelic` in local troubleshooting and CI/CD: tag entities after provisioning, mark deployments during release jobs, query account entities, script workload or dashboard-related changes, and avoid direct GraphQL/API plumbing for common operational tasks.

### Why package nerds care

newrelic-cli is significant as vendor-supported automation glue. It is not just a convenience wrapper: it is the packaged terminal surface for New Relic workflows that otherwise require the UI or direct API calls.

### Timeline

- 2020-01-27: GitHub release feed repository id history indicates the public repository era around early 2020.
- 2026-06-03: Release feed shows v0.112.10.
- 2026-06-30: Release feed shows v0.112.15.
- 2026-07-01: Homebrew formula API reported stable 0.112.15 and 6,196 install-on-request events over 365 days.

### Related projects

- New Relic Developer Toolkit is the umbrella context named by upstream.
- newrelic-client-go underpins many New Relic API interactions and appears in release dependency updates.
- New Relic's official Docker image is another supported distribution path.

### Sources

- <https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/newrelic-cli/>
- <https://docs.newrelic.com/docs/new-relic-solutions/tutorials/new-relic-cli/>
- <https://formulae.brew.sh/api/formula/newrelic-cli.json>
- <https://formulae.brew.sh/formula/newrelic-cli>
- <https://github.com/newrelic/newrelic-cli>
- <https://github.com/newrelic/newrelic-cli/releases.atom>
- <https://raw.githubusercontent.com/newrelic/newrelic-cli/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for newrelic-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: ~/.newrelic/config.json

## Credential files

- Unix: ~/.newrelic/credentials.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** newrelic-cli
- **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-cli: normalized package name match | Chocolatey community package catalog: newrelic-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','naps2'


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [grafana](https://www.automicvault.com/pkg/brew/grafana/) - Shares av.db curated category or tags: cli, developer-tools, monitoring, observability.
- [alp](https://www.automicvault.com/pkg/brew/alp/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [grafana-alloy](https://www.automicvault.com/pkg/brew/grafana-alloy/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [grafanactl](https://www.automicvault.com/pkg/brew/grafanactl/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [humanlog](https://www.automicvault.com/pkg/brew/humanlog/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [lttng-ust](https://www.automicvault.com/pkg/brew/lttng-ust/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [otel-cli](https://www.automicvault.com/pkg/brew/otel-cli/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [parca](https://www.automicvault.com/pkg/brew/parca/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [newrelic-infra-agent](https://www.automicvault.com/pkg/brew/newrelic-infra-agent/) - Package names and metadata indicate a similar tool family. Shared terms: cli, monitoring, new, new-relic, newrelic.
- [angle-grinder](https://www.automicvault.com/pkg/brew/angle-grinder/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

View the package source record on GitHub. [combined/newrelic-cli.yml](https://github.com/automic-vault/db/blob/main/combined/newrelic-cli.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
