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

# Command Line Interface

> Setup Nexis CLI under 5 minutes

Nexis CLI is a powerful tool that allows you to interact with the Nexis Native Chain directly from your terminal. As a developer, setting it up locally is essential. Here's a step-by-step guide to get you started:

<AccordionGroup open>
  <Accordion icon="box" title="Update and Install Dependencies">
    To ensure your system is up to date and has all the necessary dependencies, run the following commands:

    ```bash theme={null}
    sudo apt-get update
    sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make cmake protobuf-compiler
    ```
  </Accordion>

  <Accordion icon="code" title="Install Rust">
    Install Rust using rustup, which is Rust's toolchain installer:

    ```bash theme={null}
    curl https://sh.rustup.rs -sSf | sh
    source $HOME/.cargo/env
    rustup component add rustfmt
    rustup update
    ```
  </Accordion>

  <Accordion icon="copy" title="Clone CLI Source Code">
    Clone the Nexis Network CLI source code from the official GitHub repository:

    ```bash theme={null}
    git clone https://github.com/nexis-network/nexis-network.git
    cd nexis-network
    ```
  </Accordion>

  <Accordion icon="terminal" title="Install Binaries">
    Install the required binaries by running the installation script:

    ```bash theme={null}
    ./scripts/cargo-install-all.sh .
    ```
  </Accordion>

  <Accordion icon="play" title="Run CLI">
    Run the Nexis CLI with the following command:

    ```bash theme={null}
    ./nexis-network/target/release/nexis
    ```

    Note: Make sure to add the Nexis CLI as a binary on your machine. Follow the command line instructions displayed on screen after the installation of all packages.

    This will start the Nexis CLI, allowing you to interact with the Nexis Native Chain directly from your terminal.
  </Accordion>
</AccordionGroup>

## CLI Uses

You can use Nexis CLI for multiple purposes, which are as follows:

<CardGroup>
  <Card title="Make Transactions" icon="car" href="/developers/make-tx#sending-tokens-to-native-address">
    Making transactions on Nexis Native
  </Card>

  <Card title="Bridge Assets" icon="link" href="/developers/bridge-evm">
    Bridging NZTs from Native to EVM chain
  </Card>

  <Card title="Delegate Validators" icon="users" href="/analytics/supported-integrations">
    Delegate Validators
  </Card>

  <Card title="Run Validators" icon="server" href="/validators/setup-validator">
    Running Validators
  </Card>
</CardGroup>
