Node ,NPM, ionic Not found After restart ubuntu


I am very confused about installing ionic
I tried so many ways and its finally worked
by installing node and npm using nvm without root access
its works fine and i made a test app and built it successfully then it generated an apk file
after rebooting ubuntu and try ti create new ionic project
ionic command is not defined also node and npm
what is the problem now ?!!!


I fix It by
running nvm to run node first
Thanks :smile: