zb update command clears the locally cached formula definitions, forcing zerobrew to fetch the latest package metadata on the next operation.
Usage
Description
This command clears zerobrew’s API cache, which stores formula information. After runningzb update, the next time you check for outdated packages or install new software, zerobrew will fetch fresh metadata from the remote repository.
Unlike Homebrew’s brew update which updates the tap repository itself, zb update simply clears the cached formula entries to ensure you get the latest information.
Examples
Update the formula cache:Output
When cache entries are cleared:Related Commands
- zb outdated - List packages with available updates
- zb install - Install or upgrade packages