Skip to main content

Ymirr CLI

The Ymirr CLI lets you run Netrunner (database cloning) from a single entry point. You log in once with ymirr login; then you can use either ymirr netrunner ... or ymirr-netrunner directly.

Installation​

npm config set @ymirr:registry https://npm.ivfuture.uk/
npm install -g @ymirr/ymirr

This installs @ymirr/netrunner as a dependency, so ymirr netrunner works out of the box.

Commands​

Auth​

CommandWhat it does
ymirr loginOpen browser, save token
ymirr logoutRemove stored token
ymirr whoamiShow current user and token expiry

Netrunner passthrough​

ymirr netrunner forwards all arguments to the Netrunner CLI. Examples:

ymirr netrunner clone create my-db -d <database-name> -b <branch> --sync
ymirr netrunner clone list
ymirr netrunner branch create my-feature --from dev

For the full Netrunner command reference (clones, branches, database cloning), see Netrunner — Database cloning.