I've ran npm install create-react-app -g
and then
create-react-app hello-world
returns
-bash: create-react-app: command not found
I understand that my $PATH
is currently messed up. Here's what is returned from echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
I really don't know what to set this as, as I'm currently very new to the terminal. Any help would be greatly appreciated. Thank you!
Im not 100% sure on the answer to your question. However; if you are simply trying to setup a react environment, I suggest referring to a Youtube tutorial on React. Create a folder on your desired directory then go to specific directory using Command prompt, or gitBash, or Cygwin and using NodeJs you can install everything you need to get started.Follow the first 10 min to set it up and then you're good to go. Good luck
https://www.youtube.com/watch?v=IR6smI_YJDE&t=278s&list=PLbeWHDJFd79RXvAeGaDXMmxL_tkb3MvdH&index=1