| name | abp-cli |
| description | ABP Framework v10.x (10.4/10.5) CLI and tooling: abp new, add-package, generate-proxy, ABP Studio, ABP Suite, --modern flag. Use when working with ABP CLI commands, creating projects, adding packages, or generating proxies. |
ABP Framework — CLI & Tooling
ABP Framework v10.x (10.4/10.5) CLI commands, ABP Studio, ABP Suite, and development tooling guide.
Trigger
- "ABP CLI"
- "ABP command"
- "abp new"
- "abp update"
- "ABP Suite"
- "ABP Studio"
- "ABP generate-proxy"
- "ABP package management"
ABP CLI Installation
dotnet tool install -g Volo.Abp.Studio.Cli
dotnet tool update -g Volo.Abp.Studio.Cli
--skip-cli-version-check (-scvc)
--skip-extension-version-check (-sevc)
--old
--help (-h)
Creating a Solution
abp new Acme.BookStore --template app
abp new Acme.BookStore --template app-nolayers
abp new Acme.BookStore --template microservice
abp new Acme.BookStore --template app --modern
abp new Acme.BookStore --template app-nolayers --modern --modular
abp new Acme.BookStore --template microservice --modern
abp new Acme.BookStore --database-management-system PostgreSQL
abp new Acme.BookStore --database-management-system MySQL
abp new Acme.BookStore --connection-string "Server=localhost;Database=BookStore;Trusted_Connection=True"
abp new Acme.BookStore --no-multi-tenancy
abp new Acme.BookStore --no-tests
abp new Acme.BookStore --theme leptonx-lite
abp new Acme.BookStore --theme basic
abp new Acme.BookStore --modern --shadcn-theme blue
Template + UI Combinations
| Template | MVC | Angular | Blazor | React | No-UI |
|---|
app | ✓ | ✓ | ✓ | --modern | ✓ |
app-nolayers | ✓ | ✓ | ✓ | --modern | ✓ |
microservice | ✓ | ✓ | ✓ | --modern | ✓ |
Modern Template Options
| Option | Description |
|---|
--shadcn-theme <theme> | slate, pink, blue, turquoise, orange, purple |
--admin-password <password> | Initial admin password |
--modular | Modular monolith variant (app-nolayers --modern) |
--services <list> | Additional microservice names (comma-separated) |
Creating a Module
abp new-module Acme.BookStore.Orders -t module:ddd
abp new-module Acme.BookStore.Orders --modern
abp new-module Acme.BookStore.Orders -t module:ddd -ts Acme.BookStore.sln
abp new-module Acme.BookStore.Orders -d ef -u mvc
Package Management
abp add-package Volo.Abp.EntityFrameworkCore
abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic
abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic --with-source-code
abp update
abp update --version 8.0.0
abp update --npm
abp update --nuget
abp switch-to-preview
abp switch-to-stable
abp switch-to-nightly
abp switch-to-local --paths "D:\Github\abp"
Generate Proxy
abp generate-proxy -t ng
abp generate-proxy -t ng -url https://localhost:44302/
abp generate-proxy -t ng -a default -m identity
abp generate-proxy -t csharp
abp generate-proxy -t csharp --without-contracts
abp generate-proxy -t js
abp remove-proxy -t ng
abp remove-proxy -t csharp
Module Source Management
abp list-modules
abp get-source Volo.Blogging
abp get-source Volo.Blogging --local-framework-ref --abp-path D:\GitHub\abp
abp add-source-code Volo.Chat --add-to-solution-file
abp install-module Volo.Blogging
abp install-local-module ../Acme.Blogging
abp list-module-sources
abp add-module-source -n "Custom" -p "https://example.com/modules.json"
abp delete-module-source -n "Custom"
Listing Templates
abp list-templates
Cleaning the Project
abp clean
ABP Studio Integration
abp init-solution --name Acme.BookStore
abp kube-connect
abp kube-connect -p Default.abpk8s.json
abp kube-connect -c docker-desktop -ns mycrm-local
abp kube-intercept mycrm-product-service -ns mycrm-local
abp kube-intercept mycrm-product-service -ns mycrm-local -a MyCrm.ProductService.HttpApi.Host.csproj
ABP Suite
ABP Suite is a tool that automatically generates CRUD pages:
- Define the entity and its properties
- Specify the relationships
- Choose the UI framework (MVC/Blazor/Angular)
- CRUD pages are generated automatically
Localization Translation
abp translate -c de
abp translate -c de -r en
abp translate -c de -o my-trans.json
abp translate -c de --all-values
abp translate --apply
abp translate -a
Upgrade (Open Source → PRO)
abp upgrade -t app
abp upgrade -t app --language-management --gdpr --audit-logging-ui
abp upgrade -t app-nolayers --audit-logging-ui
MCP Studio (AI Tools)
abp mcp-studio
Other Commands
abp install-libs
abp bundle
abp clear-download-cache
abp check-extensions
abp install-old-cli
abp generate-razor-page
abp generate-jwks
abp login
abp login-info
abp logout
abp build
abp new-package --name Acme.BookStore.Domain --template lib.domain
abp add-package-ref Acme.BookStore.Domain
abp add-package-ref "Acme.BookStore.Domain Acme.BookStore.Domain.Shared" -t Acme.BookStore.Web
new-package Templates
| Template | Description |
|---|
lib.class-library | Class library |
lib.domain-shared | Domain shared |
lib.domain | Domain |
lib.application-contracts | Application contracts |
lib.application | Application |
lib.ef | EF Core |
lib.mongodb | MongoDB |
lib.http-api | HTTP API |
lib.http-api-client | HTTP API Client |
lib.mvc | MVC |
lib.blazor | Blazor |
host.http-api | HTTP API Host |
host.mvc | MVC Host |
host.blazor-server | Blazor Server Host |
Best Practices
- Always use the latest CLI version —
dotnet tool update -g Volo.Abp.Studio.Cli
- Prefer modern templates — React-first, more up-to-date stack
- Keep packages up to date with
abp update — Use abp switch-to-stable for the Preview→Stable transition
- The server must be running to generate proxies —
abp generate-proxy
- Use
abp new-module for module development — Instead of creating manually
- Use
abp add-source-code when you need the source code — For debugging and customization
Related