Quick start
Try out nem in your project directory with the following commands:
nem activate
exec $SHELL
nem use kubectl
kubectl version --clientYou’ve just activated nem and used it to install and run kubectl. From now on, kubectl is on your PATH automatically whenever you enter this directory — no extra setup.
Step by step
Below is a breakdown of what each command does:
nem activate
Installs nem’s shell integration into your shell’s startup file. This is what
lets nem adjust your PATH and environment automatically as you move between
directories — you only run it once per machine.
exec $SHELL
Reloads your shell so the integration takes effect in the current session. Opening a new terminal would work too.
nem use kubectl
Fetches the latest kubectl from the catalog, verifies and installs it, records
it in this directory’s nem.ver, and puts it on your PATH.
kubectl version --client
Runs the freshly installed kubectl — confirming it’s on your PATH with no
manual download or PATH editing.