Introduction | Installation | Quick start
kcl is a command-line interface that includes language core features, IDE features, package management tools, community integration, and other tools. It now integrates the following tools:
In the future, we will unify and integrate these dispersed tools into the kcl-lang/tools repo.
curl -fsSL https://kcl-lang.io/script/install-cli.sh | /bin/bashwget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bashpowershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex"brew install kcl-lang/tap/kclscoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
scoop install kcl-lang/kclYou can download kcl via go install.
go install kcl-lang.io/cli/cmd/kcl@latestYou can also get kcl from the github release and set the binary path to the environment variable PATH.
# KCL_CLI_INSTALLATION_PATH is the path of the `KCL CLI` binary.
export PATH=$KCL_CLI_INSTALLATION_PATH:$PATH docker run -it kcllang/kcldocker run -it kcllang/kcl-arm64git clone https://github.com/kcl-lang/cli
cd cli && go build ./cmd/kcl/main.go -o kclUse the following command to ensure that you install kcl successfully.
kcl --helpkcl run ./examples/kubernetes.k