Skip to main content
warning

Documentation is currently for moon v2. If you are using v1, some of the examples and settings may differ in syntax and functionality.

clean

The proto clean command can be used to uninstall stale and unused tools, plugins, and more. By default, it will remove items that haven't been used in the last 30 days.

$ proto clean

Furthermore, the command can be used to target a specific artifact type.

$ proto clean plugins

Arguments

  • [target] - Type of target. Accepts cache, plugins, temp, or tools. v0.44.0

Options

  • --days - Number of days before a tool is considered stale.
  • --json - Print the clean result in JSON format. v0.44.0
  • --yes - Avoid and confirm all prompts.