expensify-cli

module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: MIT

README

expensify

CI Release MIT

New Expensify from your terminal. Manage expenses, receipts, and reports with one binary, readable tables, and structured output for scripts and agents.

Unofficial client for New Expensify. Its app API can change without notice.

Install

On macOS or Linux, use Homebrew:

brew install magarcia/tap/expensify

Download binaries for macOS, Linux, and Windows on amd64 and arm64. See installation for checksums, completions, source builds, and upgrades.

Get started

expensify auth login
expensify workspace list
expensify expense list --limit 20

Login opens a separate Chrome-compatible window for sign-in. Credentials use your OS keyring when available, with a private plaintext file as fallback. See authentication for storage controls and other login methods.

Find a draft report, then preview an expense with a receipt. Replace the workspace and report IDs and receipt path with your own:

expensify report list --policy-id YOUR_POLICY_ID --status drafts
expensify expense create --report-id YOUR_REPORT_ID \
  --amount 1250 --currency USD --merchant Cafe \
  --receipt receipt.pdf --dry-run

Amounts use currency minor units: 1250 is 12.50 USD. --dry-run validates local inputs without calling Expensify; remove it to create the expense. See the monthly draft workflow for report creation, Notes, and workspace expenses.

Discover commands and flags with expensify --help or expensify expense create --help.

Agents and scripts

Use --no-input --output llm for agents or --output json for scripts:

expensify expense list --no-input --output llm

Install the agent skill to teach an agent how to learn the CLI through its help:

gh skill install magarcia/expensify-cli expensify --agent codex --scope user

See skill installation for other agents and the Vercel skills installer.

Documentation

  • Installation: platforms, downloads, and shell completions.
  • Authentication: login, credentials, and session renewal.
  • Automation: workflows, output formats, configuration, and errors.
  • Contributing: build with Go and just, run tests, and contribute.

Report a bug · Security · MIT license

Directories

Path Synopsis
cmd
expensify command
internal
api
Package api implements the New Expensify web API and device-session renewal.
Package api implements the New Expensify web API and device-session renewal.
browserauth
Package browserauth signs in through an isolated, short-lived Chromium profile.
Package browserauth signs in through an isolated, short-lived Chromium profile.
cli
Package cli provides the command-line interface without process-global state.
Package cli provides the command-line interface without process-global state.
expensify
Package expensify provides validated, typed resource operations for New Expensify.
Package expensify provides validated, typed resource operations for New Expensify.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL