Skip to content

klever-io/install

Repository files navigation

Klever Development Environment Installer

Install the complete Klever smart contract development environment with a single command.

Quick Start

curl -fsSL https://install.klever.org/install.sh | bash

What Gets Installed

Tool Purpose
Rust Smart contract programming language (via rustup)
wasm32v1-none WebAssembly compilation target for Rust
ksc Smart contract compiler for KleverVM
koperator Blockchain CLI — deploy, invoke, and query contracts
klever-sc-meta Project scaffolding, ABI generation, and builds
wasm-opt WASM optimization (optional)
Klever MCP AI tool integration for Claude Code and VS Code (requires Node.js)
Klever KVM IDE VS Code extension for smart contract development (optional, prompts to install)

Supported Platforms

  • macOS (Apple Silicon / arm64)
  • macOS (Intel / x86_64)
  • Linux (x86_64 / amd64)
  • Linux (ARM64 / aarch64)

Windows users should use WSL.

Configuration

Variable Default Description
KLEVER_SDK_PATH ~/klever-sdk Custom install directory for SDK binaries

Example with a custom path:

KLEVER_SDK_PATH="$HOME/.local/klever-sdk" curl -fsSL https://install.klever.org/install.sh | bash

How It Works

  1. Platform detection — Identifies your OS and architecture
  2. Rust — Installs via rustup if not present, adds wasm32v1-none target
  3. SDK binaries — Downloads ksc and koperator from the Klever CDN
  4. VM library — Downloads the platform-specific VM execution library
  5. Cargo tools — Installs klever-sc-meta and wasm-opt via cargo
  6. AI tooling — Configures Klever MCP server for Claude Code and VS Code (if Node.js is available)
  7. VS Code extension — Prompts to install the Klever KVM IDE extension (if VS Code is available)
  8. PATH setup — Adds the SDK directory to your shell profile

The script is idempotent — safe to run multiple times. It skips already-installed components and upgrades outdated ones. No root access is required for the SDK itself; however, on fresh Linux systems, sudo may be used to install build dependencies (C compiler, pkg-config, OpenSSL headers).

Hosting

This repository powers install.klever.org:

URL Response
install.klever.org Landing page with instructions
install.klever.org/install.sh Raw installer script

Development

git clone https://github.com/klever-io/install.git
cd install

# Test the installer locally
bash install.sh

# Preview the landing page
open index.html          # macOS
# xdg-open index.html    # Linux
# start index.html       # Windows (WSL)

License

MIT

About

One-command installer for the Klever smart contract development environment

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors