How to install go-kratos/kratos. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
go-kratos/kratos Installation Guide
How to install go-kratos/kratos. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for go-kratos/kratos. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i go-kratos/kratosor
Install via npx
npx @hexmos/ipm i go-kratos/kratosPrerequisites
go
languageVersion: >1.18.0
docker
system_toolFor building and running the Kratos application.
protobuf-compiler
package_managerVersion: 3.19.0
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
go_remote
apt-get update && apt-get -y install protobuf-compiler && export GOPROXY=https://goproxy.io,direct && go install github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgradePost Installation Steps
- Start the server: `go run main.go`
- Run migrations: `./scripts/migrate`
