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

# site dev

> Run the site's dev server, with no local backend

Run only your site's frontend dev server, with no local backend. The command runs the [`site.serveCommand`](https://docs.base44.com/developers/backend/overview/project-structure) configured in the `base44/config.jsonc` of your project root. By default, if `site.serveCommand` isn't set, the command runs `npm run dev`. The command requires a [linked project](https://docs.base44.com/developers/references/cli/commands/link.md).

Use `site dev` in a hosted [sandbox](https://docs.base44.com/developers/app-code/sandbox/overview.md), where your backend is already hosted.

To run your backend locally as well, use [`dev`](https://docs.base44.com/developers/references/cli/commands/dev).

## Usage

```bash theme={null}
base44 site dev
```

## Arguments

| Argument | Description | Required |
| - | - | - |
| `[args...]` | Arguments to append to the serve command. Put them after `--` so the CLI doesn't read them as flags. | No |

## See also

* [`dev`](https://docs.base44.com/developers/references/cli/commands/dev): Run your backend and frontend locally
* [`site install`](https://docs.base44.com/developers/references/cli/commands/site-install): Install your site's dependencies
* [Project structure](https://docs.base44.com/developers/backend/overview/project-structure.md): `site.serveCommand` and other config fields


## Related topics

- [CLI Commands Overview](https://docs.base44.com/developers/references/cli/commands/introduction.md)
- [dev](https://docs.base44.com/developers/references/cli/commands/dev.md)
- [Local development setup](https://docs.base44.com/developers/backend/overview/local-dev/get-started.md)
- [site install](https://docs.base44.com/developers/references/cli/commands/site-install.md)
- [Project Structure](https://docs.base44.com/developers/backend/overview/project-structure.md)


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