> ## Documentation Index
> Fetch the complete documentation index at: https://compresto.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# License

> Sign in and out of the compresto command, and see how it shares your license with the Mac app.

The command-line tool uses the same Compresto license as the Mac app.

```bash theme={null}
compresto auth login    # sign in
compresto auth status   # show the signed-in license and devices used
compresto auth logout   # sign out on this Mac
```

## Sharing a device with the Mac app

Each license covers a set number of devices. When you run `compresto auth login` on a Mac where the Compresto app is already activated, the command-line tool shares the app's activation, so the two count as one device.

If the app isn't activated on that Mac, you're asked for your license key and the Mac is activated, using one device.

> [!TIP]
>
> To use both on one Mac, activate the app first, then run `compresto auth login`.

## Signing out

`compresto auth logout` signs you out on this Mac.

* If the command-line tool activated this Mac, the device is released from your license.
* If it was sharing the app's activation, the app stays activated.

## Where your key is stored

Your license key is kept in the macOS Keychain.

## Working offline

Compresto checks your license online about once a day. If you're offline, it keeps working for 14 days from the last successful check.

## Manage your devices

To see or remove the devices on your license, visit [compresto.app/manage-license](https://compresto.app/manage-license).

> [!NOTE]
>
> Setapp licenses can't be used with the command-line tool, because they don't come with a license key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.