Skip to main content
The Terminal tab opens a shell inside one running instance of your app, in your browser. Use it to look around a live deployment: check which files the build produced, read a config file, test a connection to a database, or run a one-off command.
The project Terminal tab with a shell connected to a running instance.

Requirements

Open a shell

1

Open the Terminal tab

Open the project, then Terminal.
2

Pick an instance

If the project has more than one replica, choose one in Runtime instance.
3

Connect

Click Connect. The shell opens inside that instance’s container.
Try a few commands:
Click Disconnect when you’re done.

Limits

  • A session ends after 15 minutes. Connect again to keep going.
  • One terminal per instance at a time. If someone else is connected, you’ll see “A terminal is already open”. Pick another instance or wait.
  • The terminal runs inside your app’s container, with its memory and CPU. A heavy command can slow your app down.

What doesn’t last

Anything you change in the terminal is lost on the next deploy or restart, because each deployment starts from a fresh container. Put lasting changes in: Run database migrations with a pre-deploy command rather than by hand, so they run on every deploy.

If it doesn’t connect

The project is a static site, or its owner is on the Free plan.
The instance may have just restarted or moved during a deploy. Wait for the deployment to be Live, then connect again.
Sessions last 15 minutes. Connect again.