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.
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.
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.