Moving an Older TokenCap Setup Over: Three Commands and an Alias Table A developer documented migrating repositories from an older TokenCap CLI to the current release using three commands: a global npm install, `tokencap make --migrate`, and `tokencap make`. The migration upgrades `.tokencap/config.json`, publishes JSON schemas, writes migration and build records, and removes legacy compatibility aliases in favor of a seven-command surface, with removed commands exiting 1 and naming their replacements. The writeup also notes behavior changes such as new constitution rule IDs, `.mcp.json` written at the project root for Claude Code, and `--flag=value` parsing. TokenCap's CLI is organised around seven commands, and the generated artifacts follow published JSON schemas. If a repository was set up with an older TokenCap, this is the whole move. npm install -g tokencap tokencap make --migrate tokencap make The install gets the latest TokenCap, which carries the fixes covered in recent posts: stricter redaction that leaves code references intact, every language parsing on Node 18 and 20, and an MCP server that no longer times out on a first run. Check the install: tokencap version Then, in each repository, run the other two commands. tokencap make --migrate upgrades .tokencap/config.json to the current format, publishes JSON schemas in .tokencap/schemas/ , and writes .tokencap/migration.json . It prints the three paths and ends by telling you to run tokencap make . The following tokencap make regenerates the artifact manifest and writes a build record, .tokencap/build.json , with the commit, time and the layers that built. Migration is a make flag on purpose, so the CLI stays at seven commands: make , ask , analyze , serve , update , help , version . The old compatibility aliases are gone. The ones you are most likely to have in scripts: | Old command | Current command | |---|---| | tokencap impact