Install the CLI or run it on demand with a supported package manager.
Run the CLI on Node.js 22.12.0 or newer. It supports projects managed with npm, pnpm, yarn, or bun; install the package manager your project uses before setup.
| Requirement | Needed for |
|---|---|
| Node.js 22.12.0 or newer | Everything |
| npm, pnpm, yarn, or bun | The project's own package manager |
Git on PATH and access to https://github.com/jfdevelops/skills | Commands that clone the shared skills; see command requirements |
npm on PATH | The publication check of create skills |
create also uses Git for the foundation commit, unless you pass --no-git.
npx @jfdevelops/cli --help
npx @jfdevelops/cli create my-projectUse the scoped package name with npx. The executable installed by the package
is named jfdevelops.
npm i -D @jfdevelops/cliRun the local executable through your package manager, for example:
pnpm exec jfdevelops --version
pnpm exec jfdevelops initcreate and init install the CLI as a direct development dependency when needed, at the exact running version, so collaborators can run the project's installed version. They also add @jfdevelops/skills, the package the shared convention skills belong to, at its latest release. Commit the manifest, lockfile, generated skills, and recorded setup.
Every command runs without a terminal: a run with no terminal, or with --yes, answers each question your flags leave open with its default, and a question with no default stops the command. See Questions, flags, and defaults for how each answer is chosen. Pass the flags that answer the rest:
npx @jfdevelops/cli create my-app --kind app --no-git
npx @jfdevelops/cli init --targets packages/ui=library
pnpm exec jfdevelops skills --check
pnpm exec jfdevelops update --yesThis update keeps missing-source skills and warns with their names. It also keeps scripts that duplicate Vite+ tasks. Pass --remove-missing to select the skills for removal or --scripts replace to select removal of the duplicate scripts.
A question with no default exits with code 1 and names the flag to pass when the question has one. Changes that earlier steps already applied and package installs that already ran stay (see Cancelling):
No default answers "What kind of project are you creating?". Pass --kind <app|library>, or run the command in a terminal without --yes.Piping the output through another program counts as having no terminal. Use --conflicts keep or --conflicts overwrite to settle every file you edited that a change would replace; see common options.
Read Check skill status before adding skills --check to CI, because it fails on new upstream commits to the shared skills.