← 返回命令列表

Linux command

ng-analytics 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Enable analytics

ng analytics enable

Disable analytics

ng analytics disable

Check analytics status

ng analytics info

Prompt for analytics

ng analytics prompt

说明

ng analytics manages Angular CLI usage analytics. Control whether anonymous usage data is shared with the Angular team to improve the CLI.

参数

enable
Enable usage analytics.
disable
Disable usage analytics.
info
Show current analytics setting.
prompt
Prompt to set analytics preference.
--global
Apply globally.

FAQ

What is the ng-analytics command used for?

ng analytics manages Angular CLI usage analytics. Control whether anonymous usage data is shared with the Angular team to improve the CLI.

How do I run a basic ng-analytics example?

Run `ng analytics enable` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does enable do in ng-analytics?

Enable usage analytics.