Skip to main content

envcheck

The main command validates your development environment against the configuration file.

Usage

Description

Runs all validation checks defined in your .envcheck.yaml configuration file. By default, it looks for the configuration file in the current directory.

Examples

Run validation with default config:
Run with custom config file:
Run with verbose output:
Get JSON output:
Combine options:

Output Example


envcheck init

Initializes a new .envcheck.yaml configuration file in the current directory.

Usage

Description

Creates a .envcheck.yaml file with a default template that includes examples for:
  • Tool version checks (Node.js, Git)
  • Environment variable validation
  • Port availability checks
  • File existence checks
  • Network connectivity tests
This command will fail if .envcheck.yaml already exists in the current directory.

Examples

Initialize a new config:
Output:
If config already exists:

Generated Template

The init command creates a configuration file with the following structure:
You can edit this file to match your project’s specific requirements.