In linux, the environment variable of node is set for a user (.bash _ profile), is set but the node command is still not found

clipboard.png

Mar.05,2021

PATH can only be a directory, not an executable file. Just remove the last node in your PATH


after you add environment variables, source configuration file?
after the configuration is completed, execute the source .bash _ profile command to make the configuration file take effect

but usually use .bashrc or .zshrc configuration file

Menu