The abpv CLI
Install the CLI globally, or run it without a global installation:
bash
npm install -g @lsw-abpvue/cli
npx @lsw-abpvue/cli --helpabpv and abpvue invoke the same command. The CLI requires Node 20 or newer. Creating a backend requires the target .NET SDK and official ABP CLI. Existing-solution operations also inspect backend configuration; online generation needs a running backend or saved metadata.
| Command | Purpose |
|---|---|
| new | Create an ABP backend and Vue frontend |
| switch-ui | Add Vue to an existing solution |
| proxy | Generate typed services, DTOs, validators and policy names |
| generate | Generate an ordinary application CRUD page |
| add-package | Install a package or release its source locally |
| eject | Alias for releasing package source |
| create-lib | Scaffold a reusable module UI package |
| doctor | Diagnose environment and backend configuration |
| update | Update ABP Vue package versions |
Project commands
The generated frontend includes the CLI as a dependency. Run pnpm abpv <command> from vue/ to use that project's version. Mutating commands support --dry-run; doctor only reads and reports. Use <command> --help for the installed version's options.
See configuration and generated files for metadata, previews, backups and overwrite behavior.