HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ng analytics — Manage Angular CLI analytics settings. More information: <https://angular.dev/cli/analytics>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
angularanalyticscommandclimanagesettingsng analytics

Problem

How to use the ng analytics command: Manage Angular CLI analytics settings. More information: <https://angular.dev/cli/analytics>.

Solution

ng analytics — Manage Angular CLI analytics settings. More information: <https://angular.dev/cli/analytics>.

Enable analytics for the current project:
ng analytics {{[on|enable]}}


Enable analytics globally:
ng analytics {{[on|enable]}} {{[-g|--global]}}


Disable analytics for the current project:
ng analytics {{[off|disable]}}


Disable analytics globally:
ng analytics {{[off|disable]}} {{[-g|--global]}}


Display the current analytics configuration and status:
ng analytics info


Prompt interactively to configure analytics settings:
ng analytics prompt

Code Snippets

Enable analytics for the current project

ng analytics {{[on|enable]}}

Enable analytics globally

ng analytics {{[on|enable]}} {{[-g|--global]}}

Disable analytics for the current project

ng analytics {{[off|disable]}}

Disable analytics globally

ng analytics {{[off|disable]}} {{[-g|--global]}}

Display the current analytics configuration and status

ng analytics info

Context

tldr-pages: common/ng analytics

Revisions (0)

No revisions yet.