Skip to content

Dashboard

layer dashboard starts the Layeron dashboard for a local project. The dashboard reads Layeron project state, deployment records, resource metadata, secret metadata, and Worker Logs records for Workers in the selected environment.

The command serves the dashboard on a local HTTP origin. The default URL is http://127.0.0.1:4177.

Terminal window
layer dashboard [project] [options]
OptionValueNotes
--env<name>Initial environment selection.
--workspace-id<id>Workspace id. Defaults to local.
--project-id<id>Project id override.
--host<address>Local listen address. Defaults to 127.0.0.1.
--port<number>Local port. Defaults to 4177; valid range is 1 through 65535.
-h, --helpShow help.

The project argument points to the Layeron project directory. Omit it to use the current directory.

Dashboard state uses the same project-local .layeron directory as direct deploy, resource, log, and secret commands. Cloudflare-backed views use the Cloudflare credentials stored by layer login.

The dashboard has a Theme menu with Auto, Light, and Dark choices. Auto uses the operating system color scheme and updates when the system preference changes. Light and Dark keep the selected theme for future dashboard visits in the same browser.

Run the dashboard for the current project:

Terminal window
layer dashboard

Run the dashboard for a project directory:

Terminal window
layer dashboard ./apps/api

Choose the initial environment and local port:

Terminal window
layer dashboard . --env production --port 4180

Bind the dashboard to a custom local address:

Terminal window
layer dashboard . --host 127.0.0.1 --port 4180

Use --port when another local process already uses port 4177.

Run layer login status when Cloudflare-backed dashboard views need account access.