# `alta telemetry`

> alta telemetry: turns the anonymous usage counts on or off, or says whether they are sent; off until you answer, DO_NOT_TRACK=1 wins.

Turns the anonymous usage counts on or off, or says whether they are sent; off until you answer, DO_NOT_TRACK=1 wins.

## Usage

```text
alta telemetry [on|off|status] [--json]
```

## Arguments

| Name | | Description |
|---|---|---|
| `action` | *optional* | on, off or status (the default). |

## Options

| Name | Type | Default | Description |
|---|---|---|---|
| `--json` | *flag* |  | Print the status (alta.telemetry-status/0.1) as JSON. |

## Exit codes

| Name | Description |
|---|---|
| `0` | ok |
| `1` | problems found |
| `2` | bad usage |
| `3` | not in this version |

## Examples

*See whether anything is sent*

```sh [Terminal]
alta telemetry status
```

*Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.*

*Turn it off*

```sh [Terminal]
alta telemetry off
```

*Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.*
