Commands
Complete reference for all 11 EnvMark CLI commands and options.
envmark init
Initialize EnvMark configuration. Sets up global config (remote, encryption) and local project config.
envmark push [env]
Push the local .env file to the repository. If no environment is specified, uses the default from config.
envmark pull [env]
Pull the .env file from the repository. If no environment is specified, uses the default from config.
envmark create <env>
Create a new environment (Git branch) in the secrets repository.
envmark list
alias: envmark ls
List all available environments (branches) in the secrets repository.
envmark status
Show current EnvMark configuration and status.
envmark diff <env1> <env2>
Compare .env files between two environments. Shows keys only in one environment and keys with different values.
envmark history [env]
Show version history of the .env file for a specific environment.
envmark delete <target>
alias: envmark rm
Delete an environment (branch) or a project's .env file from specific environments.
envmark rollback [env]
Rollback the .env file to a previous version.
envmark keygen
Generate or manage encryption keys for AES-256-GCM encryption.