Shell integration
nem exposes tools by hooking into your shell. Enable it once per machine:
nem activate # auto-detects your shell
exec $SHELL # reloadactivate adds a managed block to your shell’s rc file (.bashrc, .zshrc, or
config.fish) between # >>> nem initialize >>> markers. From then on, your
PATH and environment update automatically as you move between directories that
have a nem.ver. It also enables tab completion for the nem command.
Remove it
nem deactivateRemoves the managed block from your rc file.
Without the rc hook
To wire up a single shell session — for example in CI — without editing any rc file:
eval "$(nem shell-env)"nem shell-env prints the PATH and environment exports for the current
nem.ver. Completions can be sourced the same way:
eval "$(nem completion zsh)"