Skip to main content
Version: 0.5

Quick Start

1. Install KCLOpenAPI Tool

The kcl-openapi tool can be installed in following ways:

1.1 go install

go install

1.2 Curl|sh install (MacOS & Linux)

If you don't have go, you can install the CLI with this one-liner:

curl -fsSL | /bin/bash

1.3 Download from release

# 1. download the released binary from:

# 2. Unzip the package and add the binary location to PATH
export PATH="<Your directory to store KCLOpenAPI binary>:$PATH"

1.4 Verify your installation

➜  kcl-openapi -v
kcl-openapi 0.5.0

2. Generate KCL Files