Install the complete Klever smart contract development environment with a single command.
curl -fsSL https://install.klever.org/install.sh | bash| 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) |
- macOS (Apple Silicon / arm64)
- macOS (Intel / x86_64)
- Linux (x86_64 / amd64)
- Linux (ARM64 / aarch64)
Windows users should use WSL.
| 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- Platform detection — Identifies your OS and architecture
- Rust — Installs via rustup if not present, adds
wasm32v1-nonetarget - SDK binaries — Downloads
kscandkoperatorfrom the Klever CDN - VM library — Downloads the platform-specific VM execution library
- Cargo tools — Installs
klever-sc-metaandwasm-optvia cargo - AI tooling — Configures Klever MCP server for Claude Code and VS Code (if Node.js is available)
- VS Code extension — Prompts to install the Klever KVM IDE extension (if VS Code is available)
- 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).
This repository powers install.klever.org:
| URL | Response |
|---|---|
install.klever.org |
Landing page with instructions |
install.klever.org/install.sh |
Raw installer script |
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)MIT