After installing serverless on Windows 10, I can't run "serverless" at the command prompt
The issue for me was that I was missing the following directory in my Windows PATH env variable:
%AppData%\npm
Once I added that, I could run serverless, sls, etc.
This is probably a stupid answer, but might help someone i hope.
I was facing the same problem, even after adding the path. I found that my AppData folder was hidden somehow, making it available fixed the issue for me. (also after making the changes don't forget to open a new CMD :D )
I had the same issue, when i run the Command Prompt as Administrator it works fine.