A Homebrew tap for Zpace - a CLI tool to discover what's consuming your disk space.
First, add this tap to Homebrew:
brew tap AzisK/zpaceThen install Zpace:
brew install zpaceOr install in one command:
brew install AzisK/zpace/zpace# Scan your home directory (default)
zpace
# Scan a specific directory
zpace /path/to/directory
# Show top 20 items per category
zpace -n 20
# Set minimum file size to 1MB
zpace -m 1024brew upgrade zpacebrew uninstall zpaceUsing uv (faster):
uv tool install zpaceOr with pip:
pip install zpaceZpace is a CLI tool that helps you identify:
- 📊 Large files grouped by type (Documents, Videos, Code, Pictures, etc.)
- 📦 Space-hungry directories like node_modules, Python virtual environments, and build artifacts
- 🎯 Actionable insights to help you quickly free up space
For more information, visit the Zpace repository.
When a new version of zpace is released, a repository_dispatch event triggers the Update Formula workflow automatically. It can also be triggered manually from the Actions tab with an optional version number.
The workflow:
- Updates the zpace
urlandsha256in the formula - Installs zpace into a clean virtualenv with
uvand resolves all dependencies - Fetches each dependency's sdist URL and sha256 from the PyPI JSON API
- Rewrites the resource blocks in the formula
- Smoke-tests the PyPI package with
uvx "zpace==<version>" --help - Commits and pushes the result (or prints the current formula if already up to date)
Requires uv, curl, and jq.
# Update to the latest version on PyPI
./scripts/update-formula.sh
# Update to a specific version
./scripts/update-formula.sh 0.6.0The script updates the formula in place and prints the diff for review. Commit the result when satisfied.