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

## NAME

flox-delete - delete an environment

## SYNOPSIS

```text theme={null}
flox [<general options>] delete
     [-f]
     [-d=<path>]
```

## DESCRIPTION

Deletes all data pertaining to an environment. By default, only the
environment in the current directory is deleted, but environments in
other directories may be deleted via the `-d` flag.

By default, you will be prompted for a confirmation before deleting the
environment. The `-f` flag skips the confirmation dialog and is required
for non-interactive use.

## OPTIONS

### Delete Options

`-f`, `--force`\
Delete the environment without confirmation.

### Environment Options

If no environment is specified for an environment command, the
environment in the current directory or the active environment that was
last activated is used.

`-d`, `--dir`\
Path containing a .flox/ directory.

### 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-init`](/man/flox-init), [`flox-push`](/man/flox-push),
[`flox-pull`](/man/flox-pull)
