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

# Terminal

The Terminal provides direct access to the environment where your project runs. It allows you to monitor build logs, run commands, and verify your application's status in real-time.

<Frame caption="Terminal Overview">
  <img className="block rounded-md" src="https://mintcdn.com/compyle-01176785/7H_hei_tpHcxjLku/images/terminal-preview.png?fit=max&auto=format&n=7H_hei_tpHcxjLku&q=85&s=fb0a2221c652eeccc9809fff6bdb8d62" alt="Compyle Terminal Preview" width="1024" height="450" data-path="images/terminal-preview.png" />
</Frame>

<Callout icon="sparkles" iconType="duotone" color="#3CB878">
  <strong>Collaborative Workspace</strong><br />
  Compyle isn't just an editor—it's an intelligent workspace. The terminal works alongside the agent to give you full visibility into what's happening.
</Callout>

***

## Key features

* **Live Logs:** Watch your server output and build processes in real-time.
* **Interactive Shell:** Run manual tests, git commands, or scripts whenever you need to take control.
* **Port Forwarding:** Access your running application locally for testing.

***

## Start scripts

* You can set up start scripts in the Start Scripts tab in Projects, and those commands will run every time a new task is created.

<Frame caption="Start Scripts">
  <iframe src="https://www.youtube.com/embed/I9d0W8h9pD8?si=VTuvEoQf5lY74pvK" title="Start Scripts" className="w-full aspect-video rounded-xl" />
</Frame>

```bash theme={null}
# Install dependencies
bun install

# Mount Folder
cd <Project_Name>

# View logs
bun run dev
```

<Callout icon="lightbulb" iconType="duotone" color="#E28F2A">
  <strong>Tip</strong><br />
  If the agent is running a task, you can open the terminal to see exactly what commands it's executing and their output.
</Callout>

***

## Troubleshooting

* **Server crashed?** Check the terminal logs for error messages to share with the agent.
* **Dependency issues?** You can run `npm install` manually in the terminal if needed.

***

<Columns cols={2}>
  <Card title="Editor" href="/features/editor" icon="code" arrow="true">
    Check out Editor features
  </Card>

  <Card title="Changelog" href="/changelog/changelogs" icon="clock" arrow="true">
    Check out Changelogs
  </Card>
</Columns>
