> ## 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.

# Introduction

> Compress videos, images, GIFs and PDFs from the Terminal with the compresto command, using the same quality presets as the Mac app.

`compresto` is the command-line version of Compresto. It runs on its own, so the Mac app doesn't need to be open, which makes it a good fit for scripts, automation and batch jobs.

```bash theme={null}
compresto movie.mov
# ✓ movie.mov → movie_compressed.mov  48.2 MB → 9.1 MB (−81%)  12.3s
```

> [!NOTE]
>
> The command-line tool is for macOS and needs a Compresto license, the same one you use for the Mac app. Setapp licenses can't be used with it.

## Quick start

```bash theme={null}
brew install dqhieu/tap/compresto
compresto auth login
compresto movie.mov
```

## Where to go next

> [card] [Installation](https://compresto.app/docs/cli/installation.md)
>
> Install with Homebrew and sign in with your license.

> [card] [Compress files](https://compresto.app/docs/cli/compress-files.md)
>
> Compress videos, images, GIFs and PDFs, and convert between formats.

> [card] [Options](https://compresto.app/docs/cli/options.md)
>
> Every option for quality, video, images and output.

> [card] [Scripting](https://compresto.app/docs/cli/scripting.md)
>
> JSON output, dry runs and exit codes for automation.

## What's different from the Mac app

The command-line tool uses the same quality levels as the app and produces comparable results. A few things are only in the app for now:

* EPUB and SVG files
* Keeping image metadata
* Videos with transparency
* Presets, folder monitoring and the other workflow features


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