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

# Node

> Deploy Node.js applications with Hop

<Snippet file="nixpacks-notice.mdx" />

Node.js is detected when you have a `package.json` file in your project. All dependencies found in `packages.json` are installed with either NPM, Yarn, PNPM, or Bun (depending on the lockfile detected).

## Start Command

You can specify a custom start command in your `package.json` file, for example:

```json package.json theme={null}
{
	"scripts": {
		"start": "node index.js"
	}
}
```

If not specified, then the start command will be inferred based on the environment. Read more on the [Nixpacks documentation](https://nixpacks.com/docs/providers/node).

## Versions

Hop supports the following Node.js versions out of the box:

* 18
* 16 (**default**)
* 14

### Specifying a version

The version can be overridden by:

* Setting the `NIXPACKS_NODE_VERSION` environment variable, or
* Specifying the `engines.node` field in `package.json`
