# newrelic-cli を Homebrew, chocolatey でインストール

newrelic-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:newrelic-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.113.3
- **ソース概要:** Command-line interface for New Relic
- **ホームページ:** <https://github.com/newrelic/newrelic-cli>
- **リポジトリ:** <https://github.com/newrelic/newrelic-cli>
- **最終更新:** 2026-07-27T16:22:48Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- newrelic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.113.3
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

newrelic-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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
## 他のパッケージマネージャ記録

- 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','netfx-4.7.1-devpack'


## Combined YAML source

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


## ソース

- 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
