DenoDDeno
Powered by
banananasB
Denoβ€’2y agoβ€’
1 reply
banananas

Can't install Deno on Windows

I'm trying to install deno using PowerShell using the command provided in the Deno installation guide (
irm https://deno.land/install.ps1 | iex
irm https://deno.land/install.ps1 | iex
). However, when I run this command, I get the following error:
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
   ception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
   ception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Can someone help me as to why this happens?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Cant install deno on Windows.
loudsynthLloudsynth / help
8mo ago
deno task setup can't run on Windows 11.
BabyDPBBabyDP / help
14mo ago