Files
cheatsheet-tldr/tldr/ng-analytics
2025-12-18 00:18:39 +00:00

34 lines
687 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`