The Kratos CLI is an elegant toolkit for building Go microservices. It provides commands to scaffold new projects, generate code from proto files, run your services, and upgrade tooling.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/go-kratos/kratos/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the Kratos CLI using Go:Available Commands
The Kratos CLI provides the following commands:kratos new
Create a new service project from a template
kratos proto
Generate proto files and code from proto definitions
kratos run
Run your Kratos project locally
kratos upgrade
Upgrade Kratos tools and dependencies
kratos changelog
Get release notes and commit information
Quick Start
Create a new project and run it:Getting Help
Get help for any command using the--help flag:
Next Steps
Create Your First Service
Follow the tutorial to build your first microservice
Proto Guide
Learn how to define and generate APIs with Protocol Buffers