# Install Crane to your system

To start working with the Crane tool, you need to install Crane and its dependencies on your system.

### Check system requirements <a href="#system-requirements" id="system-requirements"></a>

Before installing, ensure your system meets the following requirements:

* **Node.js**: Version 22 or higher
* **npm**: Version 10 or higher (comes with Node.js 22+)

{% hint style="success" icon="rectangle-terminal" %}
Use [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm) to manage multiple Node.js versions.
{% endhint %}

### Create a project <a href="#create-a-project" id="create-a-project"></a>

Create a new directory for your application and install the required dependencies:

```bash
mkdir my-workspace && cd my-workspace
npm init -y
```

### Install dependencies <a href="#install-dependencies" id="install-dependencies"></a>

Install Crane and its required packages:

```bash
npm install vite vue @lightspeed/crane@latest @lightspeed/eslint-config-crane@latest
```

### Verify installation <a href="#verify-installation" id="verify-installation"></a>

Check that Crane is installed correctly:

```bash
npx @lightspeed/crane@latest --help
```

You should see a list of available commands including `init`, `build`, `preview`, and `deploy`.

### Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

#### Command Not Found <a href="#command-not-found" id="command-not-found"></a>

If `npx @lightspeed/crane@latest` is not recognized, verify that Node.js and npm are installed and available in your `PATH`:

```bash
node --version   # Should print v22.x.x or higher
npm --version    # Should print 10.x.x or higher
```

#### Version Conflicts <a href="#version-conflicts" id="version-conflicts"></a>

If you have multiple Node.js versions installed, make sure the active version is 22 or higher:

```bash
nvm use 22
# or
fnm use 22
```

### Next Steps <a href="#next-steps" id="next-steps"></a>

* [Start with Crane app](/site-themes/develop-site-themes/getting-started/start-with-crane-app.md) — scaffold and preview your first application


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/site-themes/develop-site-themes/getting-started/install-crane-to-your-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
