I can't get react work on Ubuntu, I just get command not found, can't fix it.
npm install -g create-react-app
/home/name/.npm-global/bin/create-react-app -> /home/name/.npm-global/lib/node_modules/create-react-app/index.js
updated 1 package in 4.61s
after that I enter:
zsh: command not found: create-react-app
I understand that obviously is in path problem, but I can't figure it out, I have some experience with Linux, but I just can't fix this and to get react work.
Seems to me that you need to add
~/.npm-global/bin/ to your