Harthelm Docs

hart env

Workspace environment variables: list, set, unset

Generated from cmd/hart at v1.5.0

The variables every terminal, prepare, test and service of the workspace sees. They are not secret: use hart secret for passwords and tokens. New terminals see a change at once, prepare and test at their next start, services at the next hart sync.

hart env [flags]
hart env [command]

Subcommands:

hart env list

List the variables

hart env list [flags]

hart env set

Set variables

hart env set NAME=VALUE... [flags]

Examples:

hart env set NODE_ENV=production API_URL=https://api.example.org

hart env unset

Remove variables

hart env unset NAME... [flags]

On this page