> ## Documentation Index
> Fetch the complete documentation index at: https://kamino.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Command Index

> Quick lookup of every market-related kamino-manager CLI command

A flat reference of every `kamino-manager` command that touches a market or its reserves. Each row links to the workflow page that uses it. For full flag detail on any command, see the [Market Operations CLI page](/build/cli/market-operations).

For installation and `.env` setup, see [CLI installation & setup](/build/cli/installation-setup).

## Market lifecycle

| Command                                                   | Purpose                                               | Workflow page                                                  |
| --------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------- |
| `create-market`                                           | Initialize a new `LendingMarket` account              | [Create a market](/curators/markets/creating-a-market)         |
| `update-lending-market-name`                              | Rename the market                                     | [Market settings](/curators/markets/market-settings)           |
| `update-lending-market-from-config`                       | Apply a full market config update from JSON           | [Market settings](/curators/markets/market-settings)           |
| `update-lending-market-owner`                             | Promote `lending_market_owner_cached` to active owner | [Transfer to multisig](/curators/markets/transfer-to-multisig) |
| `download-lending-market-config`                          | Export the current market config to JSON              | [Market settings](/curators/markets/market-settings)           |
| `download-lending-market-config-and-all-reserves-configs` | Export market + all reserves in one call              | [Market settings](/curators/markets/market-settings)           |
| `get-market-or-vault-admin-info`                          | Query admin metadata (owner, cached owner, council)   | [Market settings](/curators/markets/market-settings)           |

## Reserve lifecycle

| Command                          | Purpose                                          | Workflow page                                             |
| -------------------------------- | ------------------------------------------------ | --------------------------------------------------------- |
| `add-asset-to-market`            | Add a new reserve to the market with a config    | [Add reserves](/curators/markets/adding-reserves)         |
| `update-reserve-config`          | Apply a full reserve config update from JSON     | [Updating reserves](/curators/markets/reserve-management) |
| `update-reserve-config-debt-cap` | Focused update of just the borrow cap            | [Updating reserves](/curators/markets/reserve-management) |
| `download-reserve-config`        | Export the current reserve config to JSON        | [Updating reserves](/curators/markets/reserve-management) |
| `simulate-reserve-apy`           | Compute live supply and borrow APY for a reserve | [Read market data](/curators/markets/market-data)         |

## Oracles

| Command               | Purpose                                                        | Workflow page                                              |
| --------------------- | -------------------------------------------------------------- | ---------------------------------------------------------- |
| `get-oracle-mappings` | List Scope, Pyth, Switchboard oracle addresses for known mints | [Configure oracles](/curators/markets/configuring-oracles) |

## Farms

Farm initialization happens through the KFarms tooling and is bundled into `add-asset-to-market` for the initial setup. Read-side queries:

| Command                 | Purpose                                              | Workflow page                                          |
| ----------------------- | ---------------------------------------------------- | ------------------------------------------------------ |
| `get-reserve-farms-apy` | Reward APY for a reserve's collateral and debt farms | [Farms & rewards](/curators/markets/farms-and-rewards) |

For farm initialization, funding, and emission configuration, use the KFarms CLI and SDK.

## Execution modes

Every command supports four `--mode` values:

| Mode       | What it does                                                             |
| ---------- | ------------------------------------------------------------------------ |
| `inspect`  | Prints a Solana Explorer URL where you can simulate the transaction      |
| `simulate` | Runs simulation server-side and prints the result                        |
| `execute`  | Signs with the admin keypair and lands the transaction                   |
| `multisig` | Outputs a base58-encoded transaction for submission to a Squads proposal |

Multisig mode requires `--multisig <SQUADS_PUBKEY>` to identify the multisig the proposal targets.

## Network selection

| Flag        | Target                            |
| ----------- | --------------------------------- |
| (none)      | Mainnet (default)                 |
| `--staging` | Staging program on Solana mainnet |
| `--devnet`  | Solana devnet                     |

## Vault commands

The kamino-manager CLI also exposes a large set of vault-related commands (e.g., `create-vault`, `update-vault-config`, `update-vault-reserve-allocation`, etc.). These are documented under [Create a vault](/curators/vaults/guides/create-a-vault) and the [Vault Operations CLI page](/build/cli/vault-operations).

## Reference

* [Market Operations CLI](/build/cli/market-operations) — full flag detail for every command
* [CLI installation & setup](/build/cli/installation-setup) — `.env`, keypair, RPC
* [Updating reserves](/curators/markets/reserve-management) — the standard workflow
* [Market settings](/curators/markets/market-settings) — market-level workflow
