claude-usage-mac

(★ 14)

Claude Code usage in the macOS menu bar and as a desktop widget

File Explorer

  • .gitattributes
  • .gitignore
  • build.sh
  • CONTEXT.md
  • Package.swift
  • project.yml
  • README.md

# Use via CDN

jsDelivr

jsDelivr 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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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:

# Project Badges

// repository documentation