Files
honeymoose f321dfedf5 同步完成!
**同步结果摘要**:

| 目录 | 同步前 | 同步后 | 官方 |
|------|--------|--------|------|
| aggregations | 40 | 65 | 64 |
| analyzers | 8 | 141 | 140 |
| api-reference | 97 | 186 | 174 |
| benchmark | 34 | 67 | 53 |
| clients | 17 | 18 | 18 |
| dashboards | 38 | 149 | 131 |
| data-prepper | 77 | 134 | 123 |
| im-plugin | 22 | 37 | 37 |
| ingest-pipelines | 27 | 52 | 51 |
| install-and-configure | 37 | 57 | 53 |
| ml-commons-plugin | 81 | 157 | 155 |
| observing-your-data | 39 | 73 | 66 |
| query-dsl | 40 | 77 | 75 |
| search-plugins | 80 | 139 | 95 |
| security-analytics | 22 | 47 | 46 |

**说明**:
- 本地文件数 > 官方:本地有一些官方已删除或重命名的文件
- 新增了约 **740 个英文文档文件**
- 已有文件保持不变(未覆盖)
2026-11-30 10:48:30 -05:00

2.6 KiB

layout, title, nav_order, parent, grand_parent, redirect_from
layout title nav_order parent grand_parent redirect_from
default Download and install the Reporting CLI tool 10 Reporting using the CLI Reporting
/reporting/rep-cli-install/
/dashboards/reporting-cli/rep-cli-install/

Download and install the Reporting CLI tool

Install the Reporting CLI tool from either the npm software registry or an archive downloaded from OpenSearch.org. The Reporting CLI requires Node.js.

To learn more about the npm software registry, see the npm documentation.

Installing the Reporting CLI from npm

To install the Reporting CLI from npm, run the following command:

npm install -g @opensearch-project/reporting-cli

{% include copy.html %}

The -g option installs the Reporting CLI globally so that the opensearch-reporting-cli command is available in every directory. If you install the package without -g, run the command from the installation directory using npx opensearch-reporting-cli.

Installing the Reporting CLI from an archive

Download the Reporting CLI archive, and then install the archive by running the following command:

npm install -g opensearch-reporting-cli-1.1.0.tgz

{% include copy.html %}

To confirm that the archive was published by the OpenSearch Project and has not been modified, verify its signature using the Reporting CLI signature file. {: .important }

To learn more about verifying signatures, see How to verify signatures for downloadable artifacts.

Verifying the installation

To verify the installation and list all available options, run the following command:

opensearch-reporting-cli -h

{% include copy.html %}

Chromium

The Reporting CLI renders reports using Chromium, which npm downloads when it runs the Puppeteer installation script during installation. If your npm configuration skips installation scripts, Chromium is not downloaded.

The downloaded Chromium is an x86-64 binary on all macOS computers. On a Mac with Apple silicon, the Reporting CLI fails with the error spawn Unknown system error -86 unless Rosetta 2 is installed.

To use a different Chromium or Chrome binary, for example, an Arm64 build or a browser installed by your package manager, set the CHROMIUM_PATH environment variable to the path of the browser executable:

export CHROMIUM_PATH=<path-to-chromium-executable>

{% include copy.html %}