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

# Bootstrapping Initia Node

Setting up a node for a Cosmos SDK chain has traditionally been a complex
process requiring multiple steps:

* Locating the correct repository and version of the node binary compatible with
  your target network
* Either cloning and building the source code or downloading a pre-built binary
  from the release page
* Configuring the node with appropriate `config.toml` and `app.toml` files,
  which involves:
  * Setting correct values for `seeds`, `persistent_peers`, and `pruning`
  * Navigating through numerous other parameters that rarely need modification
* Finding and implementing the correct genesis file to sync with the network
* Setting up cosmovisor for automatic updates or manually maintaining the node
  binary

Weave streamlines this entire process into a simple command.

## Initialize Your Node

```bash theme={null}
weave initia init
```

This command guides you through the node setup process, taking you from an empty
directory to a fully synced node ready for operation. Once complete, you can run
the node using `weave initia start`.

**Available Flags**

<ParamField path="--initia-dir" type="string" default="~/.initia">
  The directory to store the node's data and configuration files.
</ParamField>

## Running Your Node

<Tabs>
  <Tab title="Start">
    ```bash theme={null}
    weave initia start
    ```

    **Available Flags**

    <ParamField path="--detach, -d" type="boolean" default="false">
      Whether to run the node in the background.
    </ParamField>
  </Tab>

  <Tab title="Stop">`bash weave initia stop `</Tab>

  <Tab title="Restart">`bash weave initia restart `</Tab>

  <Tab title="View logs">
    ```bash theme={null}
    weave initia log
    ```

    **Available Flags**

    <ParamField path="-n" type="number" default="100">
      The number of lines to display from the end of the logs.
    </ParamField>
  </Tab>
</Tabs>

## Help

To see all the available commands:

```bash theme={null}
weave initia --help
```
