> For the complete documentation index, see [llms.txt](https://docs.lagomchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lagomchain.com/lagomchain-cli/cli-commands.md).

# CLI Commands

### CLI Flags[​](broken://pages/eAbPajhZyy1pJWjnDly8) <a href="#cli-flags" id="cli-flags"></a>

A list of commonly used flags of `lagomd` is listed below:

| Option              | Description                                   | Type            | Default Value                                                                                                     |
| ------------------- | --------------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------- |
| `--chain-id`        | Full Chain ID                                 | `string`        | `""`                                                                                                              |
| `--home`            | Directory for config and data                 | `string`        | `~/.lagomd`                                                                                                       |
| `--keyring-backend` | Select keyring's backend                      | `string`        | `"os"`                                                                                                            |
| `--output`          | Output format                                 | `string`        | `"text"`                                                                                                          |
| `--node`            | Tendermint RPC interface                      | `<host>:<port>` | <p><code>"</code>tcp\://188.214.128.66:26657<code>"</code><br>or<br><code>"</code>tcp\://46.166.165.25:26657"</p> |
| `--from`            | Name or address of account with which to sign | `string`        | `""`                                                                                                              |

### Command list[​](broken://pages/eAbPajhZyy1pJWjnDly8) <a href="#command-list" id="command-list"></a>

A list of commonly used `lagomd` commands. You can obtain the full list by using the `lagomd -h` command.

| Command            | Description                                                     | Subcommands (example)                                                     |
| ------------------ | --------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `keys`             | Keys management                                                 | `list`, `show`, `add`, `add --recover`, `delete`                          |
| `tx`               | Transactions subcommands                                        | `bank send`, `ibc-transfer transfer`, `distribution withdraw-all-rewards` |
| `query`            | Query subcommands                                               | `bank balance`, `staking validators`, `gov proposals`                     |
| `tendermint`       | Tendermint subcommands                                          | `show-address`, `show-node-id`, `version`                                 |
| `config`           | Client configuration                                            |                                                                           |
| `init`             | Initialize full node                                            |                                                                           |
| `start`            | Run full node                                                   |                                                                           |
| `version`          | LagomChain version                                              |                                                                           |
| `validate-genesis` | Validates the genesis file                                      |                                                                           |
| `status`           | Query remote node for status                                    |                                                                           |
| `block`            | Query a specific block persisted in the db (defaults to latest) |                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lagomchain.com/lagomchain-cli/cli-commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
