@trajectonomics/cli weekly downloads statistics
By trajectonomics · npm · Claude Code
A free, open-source money command line that AI agents operate. Deterministic, local-first, Thai tax first.
@trajectonomics/cli has 17,543 recorded weekly downloads on npm, a change of -66.6% over the past 7 days, ranking #1079 of 3,247 tracked listings.
About @trajectonomics/cli
trajectonomics
traj is a free and open source command line for personal money. An AI agent operates it.
The command line never calls a model, so every result is repeatable.
The landing page is trajectonomics.com and the docs are at trajectonomics.com/docs/.
Install
Linux and macOS, one line (verifies the release checksum, installs traj to ~/.local/bin,
or $TRAJ_INSTALL_DIR, and prints what it installed):
curl -fsSL https://github.com/trajectonomics/trajectonomics/releases/latest/download/install.sh | sh
Windows, one line (installs to %LOCALAPPDATA%\traj\bin, adds it to the user PATH once,
and needs a new shell afterwards):
irm https://github.com/trajectonomics/trajectonomics/releases/latest/download/install.ps1 | iex
npm, on any machine with Node 20 or later, or with Bun (npx needs no Bun; the package
fetches the release binary on first run and caches it under ~/.traj/bin):
npx @trajectonomics/cli@latest --version
bunx @trajectonomics/cli@latest --version
Then give your agent the setup skill. -g installs it for your user rather than one folder, so
every project and every new session finds it:
npx skills add trajectonomics/trajectonomics/skills/customer --skill traj-onboarding -g -y
The setup skill asks about your situation and goal, then its second step installs the traj
operating skill from skills/customer in this repository, the folder both skills publish from. It
installs that one globally too, for the same reason.
npx skills add trajectonomics/trajectonomics/skills/customer --skill traj -g -y
That is the operating skill on its own, for an agent that is already set up. Both commands
use npx, so they need Node, which the npm channel already requires; the install scripts
do not.
Which channel: all three end at the same compiled binary and the same version. Use the
script for a machine that should keep traj on PATH, npm when you already have Node or
Bun and want one command. Pin a release with TRAJ_VERSION=X.Y.Z for the script, or
@X.Y.Z for npm.
Uninstall by deleting the one file: ~/.local/bin/traj, %LOCALAPPDATA%\traj\bin,
~/.traj/bin (the download cache only; your ledger is beside it), or nothing at all for
npx.
traj keeps the ledger in ~/.traj/traj.db, or in traj.db inside TRAJ_HOME when that is
set, the same path on Linux, macOS and Windows. Beside it is the disposable bin/ download
cache; deleting the data directory deletes the ledger. Take a lossless copy with:
traj export --format jsonl --out backup
--out names a directory that must not exist yet, and JSONL is the only lossless export
format.
Your first commands
The ledger is one record, and the first run builds it in order:
traj init
traj account add Cash --type asset --currency THB
traj account add Food --type expense --currency THB
traj tx add --from Cash --to Food --amount 120.50 --date 2026-03-01
traj balance --as-of 2026-03-31
traj report networth --as-of 2026-03-31
init creates the data directory and an empty ledger. An account is a place money sits or
comes from, and a transaction moves an amount from one to another. Every read states its own
date and never reads the clock, so the same command always answers the same question.
To chart net worth over time, state every month-end of a period in one read instead of one call per month:
traj report networth --monthly --since 2026-01-01 --until 2026-03-31
Each month is exactly what --as-of gives for that date.
A figure that sums accounts (net worth, the trial balance's debit and credit columns, the P&L's income
less expenses) can leave the safe integer range though every account is inside it. The read still
exits 0 and states every account, and states that figure as null with an error object beside it
(netWorthError, totalsError); the text form prints a sentence in its place. A figure inside the
range carries no error key. Run traj schema balance or traj schema report pnl for the exact shape.
traj help lists every command, traj help <command> lists one command's flags, and
traj schema --json prints the whole contract: every command's input, output and error codes.
Importing a statement
To load a bank statement, fill the one CSV template instead of adding each transaction by
hand. traj tx import has been in every release since 0.1.0.
traj tx import --template # print the template header and nothing else
traj tx import statement.csv --dry-run
traj tx import statement.csv
--template prints the header the importer reads, and it opens no data directory:
date,from,to,amount,memo,external_ref,project
Start your file with that header and write one row per transaction. --dry-run reports every
row and rolls every write back, so run it first. A file name of - reads the CSV from stdin, as in
traj tx import - --dry-run. The import is all or nothing, and external_ref is the duplicate
key, so importing the same statement twice adds nothing the second time. Each command's flags and
the rest of the columns are in
the tx page of the docs.
Development
The sources are Bun-only; a released binary needs nothing.
bun install
bun run dev -- --help # run from source
bun test
bun run build # single-file binary at dist/traj
bun run lint # Biome, zero warnings
bun run format # Biome format + import order, writes files
bun run check # lint + typecheck + test + build, what CI runs
From a checkout, run the CLI with bun run dev -- …. The npm launcher refuses the
0.0.0 a checkout carries, because that version is never a release; set
TRAJ_BINARY_PATH to run a binary you built with bun run build.
Reading the future…
Description from the npm listing.
- personal-finance
- financial-planning
- financial-independence
- fire
- plaintext-accounting
- double-entry
- tax
- thailand
- cli
- ai-agents
- agent-skills
- claude-code
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Claude Code plugins
All 20 @trajectonomics/cli alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@trajectonomics/cli. First seen Nov 29, 2026; last successful collection Dec 6, 2026. See the methodology.