How to install k
brew install coreutils k use case
Enhance directory listings with git status indicators and color-coded file metadata for better visual context in terminal-based file exploration.
When to use k
- Exploring a local repository to quickly identify which files have uncommitted changes
- Identifying large files in a directory using color-coded file size grading
- Checking the recency of files via 'rotting' date visualizations
When not to use k
- When raw, unformatted directory data is required for script parsing
- In environments where zsh is not the primary shell
- On high-latency filesystems where git status lookups for every line might cause performance lag
k features
- · Integrated git status tracking for files and directories
- · Color-graded file size representation (green to red)
- · Human-readable file sizes with numfmt support
- · Fading date colors based on file age (rotting dates)
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like k on its own.
Set up MCP →