# CLI Commands

### CLI Flags[​](https://docs.lagomchain.com/lagomchain-cli/broken-reference) <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[​](https://docs.lagomchain.com/lagomchain-cli/broken-reference) <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) |                                                                           |
