# `sh: next: command not found`

**Where it appears:** Terminal

**What it means:** You tried to start the app (`npm run dev`), but its packages (`node_modules`) aren't installed in this folder yet.

## Likely causes

- The project was just cloned or pulled and `npm install` hasn't run yet.
- A previous `npm install` was interrupted before finishing.

## Message for your agent

```text
Starting the app says `sh: next: command not found`. Run `npm install` first, then start `npm run dev` again.
```

**Prevention:** Let your agent run `npm install` whenever you open a project on a new computer or after a pull.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/errors/sh-next-command-not-found) · License: CC BY 4.0
