arkynChangelogGuides
docs / commands / version

arkyn --version

Added in v3.0.12. Prints the installed @arkyn/cli version and exits. Also available as arkyn -v.

Usage

bash

npx @arkyn/cli --version
# or
npx @arkyn/cli -v

bash

$ npx @arkyn/cli --version
3.0.13
Known issue (v3.0.12 and v3.0.13): when run through its npm bin (for example npx @arkyn/cli ... or node_modules/.bin/arkyn), @arkyn/cli exits with code 0 and prints nothing, so this command silently does nothing. Until a fix ships, install the CLI as a devDependency and run its bundle directly: node node_modules/@arkyn/cli/dist/bundle.js --version. See Known issue on the introduction page for details.

Notes

  • The version is read from @arkyn/cli's own package.json, it always reflects the exact version installed (or fetched by npx/bunx), never a hardcoded string.
  • Unlike an unknown command, --version/-v does not set a non-zero exit code.
Related in Commands
On this page
    arkyn