HelpProjects

Understand detected environments

See how Localdeck detects .env files and describes the current project environment.

Environment detection

Localdeck detects common .env files in the project folder and displays the environment context it can infer from them.

  • .env is treated as the default local environment.
  • Files such as .env.local, .env.staging, and .env.production are listed as available environment files.
  • The environment badge communicates detected context. It does not prove which variables the running framework loaded.

Inspect a project's environment

Open Environment from the project menu to review detected files and the current environment context.

The environment badge looks incorrect

Confirm the expected .env file exists directly in the configured project folder. Framework-specific loading rules may differ from Localdeck's file-based detection.

Related guides