Prune

Removes all outdated prerelease versions of formulas on the local registry.

Usage

Use the prune command to remove all prerelease versions of all formulas, keeping only stable versions and latest prerelease versions (if exists).

Terminal
g0 prune
The prune command only cleans up prerelease versions, all stable versions are kept.

By default, the prune command performs outdated prerelease version removal on all formulas.
You can prune specific formulas by specifying a formula name:

Terminal
g0 prune [formula-name]

On this page