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

# compile

The `morph compile` command is used to compile the Morph source code.

It is automatically invoked before commands such as `morph run` are executed, but it is used when you want to perform compilation only when debugging to resolve compilation errors.

## Examples

```bash Shell theme={"dark"}
workdir $ morph compile
Successfully compiled! 🎉
```
