windows安装deno

9/9/2021

以管理员身份运行windows PowerShell

命令行里输入:

Set-ExecutionPolicy RemoteSigned
1

如果没有安装choco,先安装choco

chocolatey (opens new window)是windows下的一个命令行的包管理工具,类似ubuntu的apt,或centos下的yum

安装命令:

iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
1

安装deno:

choco install deno
1

查询deno版本:

运行js: