railway-cli is not recognized command when in cmd
space-we3TRIAL
a year ago
Hi, I am trying to use railway-cli in cmd and I have successfully installed railway-cli using npm i -g @railway/cli
but it is showing railway is not recognized as internal or external command.
I even ran in node terminal but still same "unknown command".
Can someone tell me where should I run the command?
2 Replies
a year ago
the command is just railway
sometimes you will need to log out and back in so that the PATH variable is reloaded by the terminal
space-we3TRIAL
a year ago
The issue arose from the fact that my nodemodules directory (bin and nodemodules) was not included in the PATH. After I added them in system path then it worked. I appreciate your suggestion.