# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/newrelic-cli>
- **バージョン:** 0.113.3
- **ソース概要:** Command-line interface for New Relic
- **ホームページ:** <https://github.com/newrelic/newrelic-cli>
- **リポジトリ:** <https://github.com/newrelic/newrelic-cli>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/newrelic/newrelic-cli/archive/refs/tags/v0.113.3.tar.gz>
- **最終更新:** 2026-07-27T16:22:48Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- newrelic (cli)
- newrelic (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.113.3
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/newrelic/newrelic-cli
- 検出された最新: v0.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 を使えるよう、パッケージメタデータはここに公開されています。



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

## 他のパッケージマネージャ記録

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [sentry-cli](https://pkg.so/ja/brew/sentry-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, observability.
- [lttng-ust](https://pkg.so/ja/brew/lttng-ust/) - Shares pkgdb curated category or tags: cli, developer-tools, observability.
- [otel-cli](https://pkg.so/ja/brew/otel-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, observability.
- [parca](https://pkg.so/ja/brew/parca/) - Shares pkgdb curated category or tags: cli, developer-tools, observability.
- [alp](https://pkg.so/ja/brew/alp/) - Shares pkgdb curated category or tags: cli, developer-tools, observability.
- [grafana](https://pkg.so/ja/brew/grafana/) - Shares pkgdb curated category or tags: cli, developer-tools, monitoring, observability.
- [glab](https://pkg.so/ja/brew/glab/) - Shares pkgdb curated category or tags: cli, developer-tools, devops.
- [terragrunt](https://pkg.so/ja/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, devops.
- [newrelic-infra-agent](https://pkg.so/ja/brew/newrelic-infra-agent/) - Package names and metadata indicate a similar tool family. Shared terms: cli, monitoring, new, new-relic, newrelic.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
