When using asdf, run asdf reshim nodejs. Helped me to get rid of those command not found errors for globally installed packages.
asdf reshim nodejs
command not found