Skip to main content

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.