Skip to main content

View and set

Settings

Loading order

Highest priority wins:
  1. Environment variables
  2. Project config (./machine0.env)
  3. Home config (~/.machine0/machine0.env)
  4. Built-in defaults
An environment variable set to an empty string counts as unset — a stray export SERVER_URL= won’t override your machine0.env value or fall back to the built-in default. config get labels where each value comes from: (env) for environment variables, ** for the project config, * for the home config. Unmarked values are built-in defaults.

Project config

Drop a machine0.env in your project directory to override defaults per-project. config set always writes to the home config, and warns per key when the saved value is currently shadowed by an environment variable or the project config.

Hidden command groups

There are currently no experimental command groups — USE_EXPERIMENTAL_FEATURES is reserved for the next one and has no effect today. It’s still toggleable:
The flag also works as an environment variable (export USE_EXPERIMENTAL_FEATURES=true), but not via a project machine0.env.

API token

For automation, set MACHINE0_API_TOKEN instead of using machine0 login: