Skip to main content
The Kamino Manager CLI is a command-line tool for creating and managing Kamino lending markets, reserves, and vaults.

Prerequisites

Before installing the Kamino Manager CLI:
Node.js, Yarn package manager, and Solana CLI tools are required to run the Kamino Manager CLI.

Installation

Follow these steps to install and configure the Kamino Manager CLI:
1

Install Node.js and Yarn

Install Node.js from nodejs.org, then install Yarn package manager.
2

Install Solana CLI

Install the Solana CLI tools to create and manage keypairs.
After installation, restart the terminal to ensure the Solana CLI is available in PATH.
3

Clone and Setup Kamino Manager

Clone the Kamino SDK repository and install dependencies.
This will install all necessary dependencies for the Kamino Manager CLI.

Configuration

After installation, configure the Kamino Manager CLI with a wallet and RPC endpoint.
1

Create Admin Keypair

Create a new keypair that will serve as the admin account for managing markets and vaults.
Store the keypair file securely and never share it. This keypair will need SOL for transaction fees.
Existing keypairs can be used instead of creating a new one. Specify the path to the existing keypair file in the configuration.
2

Configure Environment Variables

Create a .env file in the klend-sdk directory and configure the following variables:
For production use, it’s recommended to use a private RPC endpoint from providers like Helius. Public RPCs are rate-limited and may cause transaction failures.
3

Fund Your Admin Account

Transfer SOL to the admin account to pay for transaction fees. Get the admin account address:
Transfer SOL to this address from another wallet or acquire it from an exchange.

Verify Installation

Run a simple command to verify everything is set up correctly:
The help output should display available commands for managing markets and vaults.

Next Steps

The Kamino Manager CLI is now installed and ready for managing markets and vaults:

Market Operations

Create and manage lending markets and reserves

Vault Operations

Create and manage Kamino vaults