Installation
CLI
Install the factory CLI globally from npm:
add -g @notation/factory-cliThe CLI runs on Bun, which must be on your PATH.
Packages
In your infrastructure repository, add @notation/factory and the plugins factory.infra.ts uses:
add -d @notation/factory @notation/factory-cloudflare @notation/factory-github @notation/factory-claudeIn each outpost repository, add @notation/factory and the plugins .factory/infra.ts uses:
add -d @notation/factory @notation/factory-github @notation/factory-claude| Package | Used in |
|---|---|
@notation/factory | Both |
@notation/factory-cloudflare | factory.infra.ts |
@notation/factory-railway | factory.infra.ts |
@notation/factory-github | Both |
@notation/factory-slack | Both |
@notation/factory-claude | Both |
@notation/factory-cursor | Both |
@notation/factory-droid | Both |
Prerequisites
Some plugins need a vendor CLI on your machine, signed in:
| Plugin | Requires | Sign in |
|---|---|---|
@notation/factory-github | gh | gh auth login |
@notation/factory-claude | claude, for the CLAUDE_CODE_OAUTH_TOKEN its Account reads | claude setup-token |
@notation/factory-cursor | agent, for the CURSOR_API_KEY its Account reads | An API key from the Cursor dashboard |
@notation/factory-droid | droid, for the FACTORY_API_KEY its Account reads | An API key from the Factory settings page |
@notation/factory-cloudflare | npx wrangler@4 | npx wrangler login |
@notation/factory-railway | railway, for factory container ssh and resume | railway login |