0

I have installed the vercel cli globally with:

npm i -g vercel

but when I run:

vercel login

or:

vercel --version

I get the following error:

vercel : The term 'vercel' is not recognized as the name of a cmdlet, function, script file, or operable program.

I don't know why the error persists. I installed vercel on powershell, cmd, adminstrator powershell and in a vsc terminal.

How can I solve this error?

Compo
  • 36,585
  • 5
  • 27
  • 39
lionel
  • 140
  • 1
  • 2
  • 12

1 Answers1

0

please open cmd and run as administrator and run this command-- npm install -g vercel