Skip to content
Native Animation

CLI

Commands and options of the nativeanimation CLI.

The CLI copies animations into your project. It needs Node 20 or later and runs with any package manager (npx, pnpm dlx, bunx, yarn dlx).

login

npx nativeanimation login

Starts a device login: it prints a code, opens your browser and waits until you confirm it in your account. Each machine gets its own token, which you can revoke from your account page.

list

npx nativeanimation list

Shows every animation with its id, its price and whether your account includes it.

add

npx nativeanimation add <id...> [--path <dir>] [--overwrite] [--dry-run] [--no-install] [--yes]
OptionWhat it does
--path <dir>Folder for the components (default: src/components or components)
--overwriteReplace files that already exist and differ
--dry-runPrint what would be written, write nothing
--no-installDo not install missing dependencies
--yesDo not ask for confirmation

logout

npx nativeanimation logout

Deletes the token stored on this machine. To revoke it everywhere, use your account page.

CI and environment variables

VariableUse
NATIVEANIMATION_TOKENToken to use instead of the stored one (for CI)
NATIVEANIMATION_DEBUG=1Print full error details