---
name: "alr-clean"
section: "1"
platform: "linux"
package: "alire"
version: "1.2.1-2.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/alr-clean"
---

# alr-clean(1)

GPRclean working release and manage cached releases

## NAME

alr-clean - GPRclean working release and manage cached releases

## SYNOPSIS

*alr clean* \[options\] \[--cache\] \[--temp\] \[--\] \[gprclean switches and arguments\]

## OPTIONS

- \--cache

  Delete cache of releases

- \--temp

  Delete dangling temporary files

## GLOBAL OPTIONS

- \-c, --config=*ARG*

  Override configuration folder location

- \-f, --force

  Keep going after a recoverable troublesome situation

- \-h, --help

  Display general or command-specific help

- \-n, --non-interactive

  Assume default answers for all user prompts

- \--no-color

  Disables colors in output

- \--no-tty

  Disables control characters in output

- \--prefer-oldest

  Prefer oldest versions instead of newest when resolving dependencies

- \--version

  Displays version and exits

- \-q

  Limit output to errors

- \-v

  Be more verbose (use twice for extra detail)

- \-d, --debug\[\]

  Enable debug-specific log messages

## DESCRIPTION

no options: gprclean -r will be called to clean up the build environment.

*--cache*: All downloaded dependencies will be deleted. *--temp*: All alr-???.tmp files in the subtree will be deleted. These files may remain when alr is interrupted via Ctrl-C or other forceful means.

## SEE ALSO

*[alr(1)](/alr/1.md)*, *[alr-action(1)](/alr-action/1.md)*, *[alr-build(1)](/alr-build/1.md)*, *[alr-dev(1)](/alr-dev/1.md)*, *[alr-edit(1)](/alr-edit/1.md)*, *[alr-run(1)](/alr-run/1.md)*, *[alr-test(1)](/alr-test/1.md)*, *[alr-exec(1)](/alr-exec/1.md)*, *[gprbuild(1)](/gprbuild/1.md)*

## AUTHOR

Generated with generate-man from Alire execution
