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

# flox gc

## NAME

flox-gc - Garbage collection

## SYNOPSIS

```text theme={null}
flox [<general options>] gc
```

## DESCRIPTION

Garbage collects any data for deleted environments.

This both deletes data managed by Flox and runs garbage collection on
the Nix store.

## OPTIONS

### General Options

`-h`, `--help`\
Prints help information.

The following options can be passed when running any `flox` subcommand
but must be specified *before* the subcommand.

`-v`, `--verbose`\
Increase logging verbosity. Invoke multiple times for increasing detail.

`-q`, `--quiet`\
Silence logs except for errors.

## SEE ALSO

[`flox-envs`](/man/flox-envs)
