Skip to content
Environment variables

Environment variables

Alongside packages, an environment can carry environment variables. They’re recorded in the env block of nem.ver and applied to your shell while that environment is active.

Set

nem set-env KUBECONFIG=./kube/config EDITOR=vim

Remove

nem unset-env EDITOR

View

nem status

Variables are exported when you enter the directory and restored to their previous values when you leave, through the shell integration.