Coder Social home page Coder Social logo

d4v1d03 / cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kcl-lang/cli

0.0 0.0 0.0 832 KB

The KCL Command Line Interface (CLI).

Home Page: https://kcl-lang.io

License: Apache License 2.0

Shell 10.70% Go 84.65% Makefile 2.39% AMPL 1.11% Dockerfile 1.15%

cli's Introduction

KCL CLI

English | 简体中文

Introduction | Installation | Quick start

Introduction

FOSSA Status

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.

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 && go build ./cmd/kcl/main.go -o 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

cli's People

Contributors

peefy avatar dependabot[bot] avatar zong-zhe avatar fossabot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.