claude-usage-mac
Claude Code usage in the macOS menu bar and as a desktop widget
File Explorer
- ci.yml
- pages.yml
- release.yml
- stats.yml
- 0001-one-widget-kind-per-style.md
- hero.png
- menu.png
- menubar-styles.png
- widget-large.png
- widget-medium.png
- widget-project.png
- widget-small.png
- widget-style-glass.png
- widget-style-heatmap.png
- widget-style-lcd.png
- widget-style-speedometer.png
- widget-style-terminal.png
- CNAME
- icon.png
- [email protected]
- index.html
- privacy.html
- setup.html
- stats.js
- stats.json
- styles.css
- claude-usage.rb.tmpl
- make-appicon.py
- Contents.json
- icon_128x128.png
- [email protected]
- icon_16x16.png
- [email protected]
- icon_256x256.png
- [email protected]
- icon_32x32.png
- [email protected]
- icon_512x512.png
- [email protected]
- AlertSettings.swift
- DisplaySettings.swift
- GeneralSettings.swift
- ProfileSettings.swift
- UpdateSettings.swift
- MenuView.swift
- SettingsKeys.swift
- SettingsView.swift
- App.swift
- Hotkey.swift
- MenuBarIcon.swift
- Notifier.swift
- Poller.swift
- Updater.swift
- Heatmap.swift
- HistoryChart.swift
- RingGauge.swift
- Theme.swift
- main.swift
- AutoSwitch.swift
- Credentials.swift
- Formatting.swift
- History.swift
- Pricing.swift
- Profile.swift
- ProfileMonitor.swift
- Snapshot.swift
- SnapshotBundle.swift
- Statusline.swift
- TokenRefresher.swift
- TranscriptScanner.swift
- UpdateChecker.swift
- UsageAPI.swift
- WidgetFaces.swift
- ConfigurationIntent.swift
- WidgetEntry.swift
- MarketingRenders.swift
- RenderSnapshotTests.swift
- AutoSwitchAndStatuslineTests.swift
- CustomizationTests.swift
- FormatAndPayloadTests.swift
- HistoryAndUpdateTests.swift
- LineParsingTests.swift
- PricingTests.swift
- ProfileTests.swift
- TokenRefreshTests.swift
- TranscriptScannerTests.swift
- .gitattributes
- .gitignore
- build.sh
- CONTEXT.md
- Package.swift
- project.yml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
brew tap
View Details ▼
brew tap
Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.
brew tap
List installed Homebrew taps:
brew tap {{github_username}}/{{github_repository_name}}
Tap a Git repository hosted on GitHub:
brew tap {{username}}/{{repository_name}} {{git_clone_url}}
Tap a Git repository hosted outside of GitHub:
brew
View Details ▼
brew
Homebrew - a package manager for macOS and Linux.
Some subcommands such as `install` have their own usage documentation.
brew install {{formula|cask}}
Install the latest stable version of a formula or cask:
brew list
List all installed formulae and casks:
brew upgrade {{formula|cask}}
Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):
gh run
View Details ▼
gh run
View, run, and watch recent GitHub Actions workflow runs.
gh run view
Interactively select a run to see information about the jobs:
gh run view {{workflow_run_number}}
Display information about a specific run:
gh run view {{[-j|--job]}} {{job_number}}
Display information about the steps of a job:
git tag
View Details ▼
git tag
Create, list, delete, or verify tags.
A tag is a static reference to a commit.
git tag
List all tags:
git tag {{tag_name}}
Create a tag with the given name pointing to the current commit:
git tag {{tag_name}} {{commit}}
Create a tag with the given name pointing to a given commit:
killall
View Details ▼
killall
Send kill signal to all instances of a process by name (must be exact name).
All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit.
killall {{process_name}}
Terminate a process using the default SIGTERM (terminate) signal:
killall {{[-l|--list]}}
List available signal names (to be used without the `SIG` prefix):
killall {{[-i|--interactive]}} {{process_name}}
Interactively ask for confirmation before termination:
swift
View Details ▼
swift
Create, run, and build Swift projects.
swift repl
Start a REPL (interactive shell):
swift {{file.swift}}
Execute a program:
swift package init
Start a new project with the package manager:
trust
View Details ▼
trust
Operate on the trust policy store.
trust list
List trust policy store items:
trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}
List information about specific items in the trust policy store:
trust anchor {{path/to/certificate.crt}}
Store a specific trust anchor in the trust policy store:
xattr
View Details ▼
xattr
Utility to work with extended filesystem attributes.
xattr -l {{file}}
List key:value extended attributes for a given file:
xattr -w {{attribute_key}} {{attribute_value}} {{file}}
Write an attribute for a given file:
xattr -d {{com.apple.quarantine}} {{file}}
Delete an attribute from a given file:
