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

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 120+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# Run Squid Locally

> Run a squid processor and GraphQL server locally with sqd run.

Run a squid locally according to the [deployment manifest](/en/cloud/reference/manifest).

* [sqd run PATH](#sqd-run-path)

Notes:

* The command is especially useful for running [multichain squids](/en/sdk/squid-sdk/evm/guides/advanced/multichain-indexing), as it runs all services in the same terminal and handles failures gracefully.

## `sqd run PATH`

Run a squid project locally

```text theme={"system"}
USAGE
  $ sqd run PATH [--interactive] [-m <value>] [-f <value>] [-i <value>... | -e <value>...] [-r <value>]

FLAGS
  -e, --exclude=<value>...  Do not run specified services
  -f, --envFile=<value>     [default: .env] Relative path to an additional environment file
  -i, --include=<value>...  Run only specified services
  -m, --manifest=<value>    [default: squid.yaml] Relative path to a squid manifest file
  -r, --retries=<value>     [default: 5] Attempts to restart failed or stopped services
      --[no-]interactive    Disable interactive mode
```

*See code: [src/commands/run.ts](https://github.com/subsquid/squid-cli/blob/master/src/commands/run.ts)*


## Related topics

- [Creating a squid project](/en/sdk/squid-sdk/solana/reference/create-squid.md)
- [Project Structure](/en/sdk/squid-sdk/substrate/reference/project-structure.md)
- [Hosting your indexer](/en/sdk/self-hosting.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.