Installation
Usage
Authentication
You can authenticate in two ways:- Interactive login - Run
overlayed loginto authenticate via browser - Environment variable - Set
OVERLAYED_API_KEYfor CI/CD or programmatic use
Update Checks
Every command checks npm for a newer@overlayed/cli, and overlayed bundle also checks the @overlayed/app and
@overlayed/electron versions installed in your project. If any are out of date, a warning is printed to stderr before
the command runs. The check never fails a command: if the registry can’t be reached or doesn’t answer within 1.5
seconds, it is skipped silently. Snapshot installs (e.g. @canary) are not checked.
Commands
overlayed login
Authenticate with the Overlayed platform. This is required for local development.
Opens the dashboard’s API key creation page with the key name prefilled as cli and the asset bundle read and write
permissions preselected, so the resulting key can run overlayed bundle without further setup. The
permissions are only a starting point — add or remove any of them before creating the key.
overlayed logout
Log out of the currently authenticated account.
overlayed whoami
Display information about the currently authenticated user.
overlayed init
Initialize your local development environment. This command:
- Fetches your application metadata from the Overlayed API
- Creates a
.overlayed/meta.jsonfile with cached application data - Must be run after
overlayed loginand in a directory with anoverlayed.config.tsfile
overlayed bundle
Bundles the app and site for deployment. This command looks for an overlayed.config.ts
file in the current directory and bundles the app and site for deployment.
Options:
Each uploaded bundle prints a link to its own build job in the dashboard, where you can follow its progress.
Examples:

