Skip to main content

nut serve

Start the Coconut web interface (Coconut Studio).
nut serve [options]

Overview

The serve command launches a local web server that provides the Coconut Studio interface. This gives you a graphical interface for managing your Coconut instance, including proposals, agents, code changes, and terminal sessions.

Usage

Start the web interface:
nut serve
The command will:
  1. Start a local web server
  2. Display the URL where Coconut Studio is accessible
  3. Keep running until you stop it (Ctrl+C)
By default, the web interface runs on http://localhost:3000. Check the terminal output for the exact URL if a different port is used.

What You Can Do in Coconut Studio

Once the web interface is running, you can:

Manage Proposals

View, create, and edit change proposals

Configure Agents

Set up and manage AI agents

Review Code

See code changes and diffs for proposals

Terminal Sessions

Access integrated terminal sessions

Source Control

Manage git operations and branches

Schedule Tasks

Configure scheduled jobs and automation

Accessing the Interface

After running nut serve, open your web browser and navigate to the displayed URL (typically http://localhost:3000).
Keep the terminal window open while using Coconut Studio. Closing the terminal or pressing Ctrl+C will stop the server.

Common Options

While nut serve works without options in most cases, you may be able to specify:
  • Custom port
  • Network binding (localhost only vs. accessible from other devices)
  • Debug mode
Run nut serve --help for available options.

Troubleshooting

If port 3000 is already in use, Coconut will typically try the next available port. Check the terminal output for the actual URL.
Make sure:
  • The nut serve command is still running
  • You’re using the correct URL from the terminal output
  • Your firewall isn’t blocking the connection