Minimal

The simplest possible Launchfile — three fields plus a start command.

What this demonstrates

  • The `version` field identifies the spec version
  • App `name` follows kebab-case convention
  • The `runtime` field tells providers what language runtime to use
  • A single `start` command is all you need to run

When to use this: Starting point for any new app — add complexity only as you need it.

Top-Level Fields Commands
minimal.yaml View on GitHub
# yaml-language-server: $schema=../schema/launchfile.schema.json
version: launch/v1
name: my-api
runtime: node
commands:
  start: "node server.js"

Key lines explained

runtime: node
Providers use this to install the right version manager (fnm, nvm, etc.).
esc
Type to search the docs