# asc telemetry

> asc telemetry commands: show, turn on and turn off the CLI's usage telemetry setting, and reset its installation ID.

Source: https://air.build/docs/cli/asc-telemetry/

`asc telemetry` shows and changes the `asc` command line's own usage telemetry setting. In AirBuild, `asc` sends no telemetry, whatever this setting says: telemetry is always turned off before any command runs, and the environment can't turn it back on. The commands only read and change a local setting; they need no Apple team and take no arguments. See [asc](https://air.build/docs/cli/asc/) for the flags every command shares.

Where telemetry is on, it records command-level usage events with a random installation ID, so activity from one installation can be grouped over time. It does not collect raw arguments, Apple account identifiers, app or bundle identifiers, usernames, hostnames, repository names or paths.

| Subcommand | What it does |
| --- | --- |
| [status](https://air.build/docs/cli/asc-telemetry/#status) | Shows whether telemetry is on, and why not. |
| [enable](https://air.build/docs/cli/asc-telemetry/#enable) | Turns the setting on. |
| [disable](https://air.build/docs/cli/asc-telemetry/#disable) | Turns the setting off. |
| [reset-id](https://air.build/docs/cli/asc-telemetry/#reset-id) | Replaces the installation ID. |

## status

Shows the telemetry setting: `enabled` (`true` or `false`), `reason` (what turned it off), `install_id` (once one exists) and `path`, the local settings file. In AirBuild it always shows `enabled` `false` with the reason `ASC_TELEMETRY_DISABLED`. Outside AirBuild, the reason can also be `DO_NOT_TRACK` (that environment variable is set) or `state` (turned off with `asc telemetry disable`).

| Flag | What it does | Default |
| --- | --- | --- |
| `--output` | Output format: `table` or `json`. | `json` when piped (as for Agents), `table` in a terminal |

```sh
asc telemetry status --output table
```

## enable

Turns the setting on and prints `Telemetry enabled`. In AirBuild this changes only the stored setting; nothing is sent.

```sh
asc telemetry enable
```

## disable

Turns the setting off and prints `Telemetry disabled`.

```sh
asc telemetry disable
```

## reset-id

Replaces the random installation ID with a new one and prints `Telemetry install ID reset`.

```sh
asc telemetry reset-id
```
