visual-studio-codedeno

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


I installed Deno using PowerShell, and yet I got this error in my Visual Studio Code. How can I fix it?

The term 'deno' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

error


Solution

  • Deno did not install properly.

    1. Open Powershell and Run as Administrator

    2. After that, if you are using windows type this command to install properly

    3 . iwr https://deno.land/x/install/install.ps1 -useb | iex