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

# Routes CLI

> Use the Eco Routes CLI to publish, fund, and track intents from the command line. Best for first-time users, manual operators, and scripting.

The [Eco Routes CLI](https://www.npmjs.com/package/eco-routes-cli) is the fastest path to move money with Eco, direct access to the stablecoin settlement layer with no integration code to write. Query routes, simulate transfers, and execute cross-chain transactions from the command line. It launches an interactive wizard that handles quote fetching, vault derivation, funding, and publishing.

Use the CLI for:

* First-time exploration
* Manual operations and scripting
* Multi-VM source/destination pairs (EVM, SVM)

For programmatic, server-side integration, use the [REST API](/routes/integrate/api).

## 0. Prerequisites

* Node 18+
* Funded wallet on the source chain
* Source-chain RPC endpoint (optional, sane defaults are used otherwise)

## 1. Install globally

```bash theme={null}
npm i -g eco-routes-cli
```

## 2. Publish your first EVM intent

```bash theme={null}
eco-routes-cli publish --private-key 0xYOUR_PRIVATE_KEY
```

Follow the prompts to select source chain (e.g. Base), destination chain (e.g. Optimism), token, and amounts. Done.

<Tip>
  Pass `--source` and `--destination` to skip the chain selection prompts.
</Tip>

Prefer not to pass keys inline? Copy `.env.example` to `.env` and set `EVM_PRIVATE_KEY` (or `SVM_PRIVATE_KEY` for Solana), the CLI will pick it up automatically.

<Warning>
  Never commit `.env`. Always add it to `.gitignore`. Never hardcode private keys in source.
</Warning>

## 3. Track fulfillment

The intent hash returned in step 2 can be used to monitor the destination Portal's `IntentFulfilled` event, or polled via the [intent-status API endpoint](/api-reference/introduction#quotes).
