---
id: "changelog/affitor-cli"
type: "changelog"
url: "https://affitor.com/changelog/affitor-cli"
updated: "2026-04-10"
---
# Create an affiliate program from your terminal

> Run npx affitor init to create an affiliate program and get its tracking script and API key, then check it and send test events from your terminal.

The first version of the Affitor CLI is on npm. Create an affiliate program from your terminal and get its tracking script and API key.

```bash
npx affitor init
```

- `status` shows your program's health and recent events, and `test` sends a test click, lead or sale.

Programs created this way were not yet linked to a dashboard account. Browser sign-in, `programs` and `whoami` arrived in May.

[Read the CLI guide](/docs/brand/cli/quickstart)
