Install jq for advanced statusline features
mainWhile cc-statusline works with a basic fallback parser, installing jq (a JSON processor) is strongly recommended to enable advanced features like context window progress bars, token statistics, and session timers.
macOS
brew install jqLinux
Ubuntu/Debian:
sudo apt-get install jqCentOS/RHEL/Fedora:
sudo yum install jqArch Linux:
sudo pacman -S jqWindows
Using Package Managers:
# Chocolatey
choco install jq
# Scoop
scoop install jq
# Winget
winget install jqlang.jqManual Installation:
- Download the appropriate version (
jq-windows-amd64.exeorjq-windows-i386.exe) from the jq releases page. - Rename the file to
jq.exe. - Place it in
C:\Windows\System32\or add it to your PATH. - Verify with
jq --version(requires 1.6 or higher).
# Example for Ubuntu/Debian
sudo apt-get install jq