SkillAgentSearch skills...

Cli

KCL Programming Language Command Line Interface (CLI).

Install / Use

/learn @kcl-lang/Cli
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align="center">KCL CLI</h1> <p align="center"> <a href="./README.md">English</a> | <a href="./README-zh.md">简体中文</a> </p> <p align="center"> <a href="#introduction">Introduction</a> | <a href="#installation">Installation</a> | <a href="#quick-start">Quick start</a> </p> <p align="center"> <img src="https://coveralls.io/repos/github/kcl-lang/cli/badge.svg"> <img src="https://img.shields.io/badge/license-Apache--2.0-green"> <img src="https://img.shields.io/badge/PRs-welcome-brightgreen"> <img src="https://img.shields.io/github/downloads/kcl-lang/cli/total?label=Github%20downloads&logo=github"> </p>

Introduction

FOSSA Status

KCL cli is a command-line interface that includes KCL language core features, IDE features, package management tools, plugins, community integration, and other tools. It now integrates the following tools:

Installation

Scripts

MacOS

curl -fsSL https://kcl-lang.io/script/install-cli.sh | /bin/bash

Linux

wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash

Windows

powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex"

Homebrew (MacOS & Linux)

brew install kcl-lang/tap/kcl

Scoop (Windows)

scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
scoop install kcl-lang/kcl

Go install

You can download kcl via go install.

go install kcl-lang.io/cli/cmd/kcl@latest

Download from GITHUB Release Page

You 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

docker run -it kcllang/kcl

Docker for arm64

docker run -it kcllang/kcl-arm64

Build from Source Code

git clone https://github.com/kcl-lang/cli && cd cli
# On Windows, MacOS and Linux
go build ./cmd/kcl/
# Build on Linux Musl
CGO_ENABLED=1 go build -tags="musl netgo static osusergo" -ldflags="-linkmode external -extldflags '-static'" ./cmd/kcl

Use the following command to ensure that you install kcl successfully.

kcl --help

Quick Start

kcl run ./examples/kubernetes.k

Learn More

License

FOSSA Status

View on GitHub
GitHub Stars37
CategoryDevelopment
Updated2h ago
Forks25

Languages

Go

Security Score

90/100

Audited on Apr 1, 2026

No findings