windows安装deno

以管理员身份运行windows PowerShell

命令行里输入:

Set-ExecutionPolicy RemoteSigned

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

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

安装命令:

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

 安装deno:

choco install deno

查询deno版本:

运行js:

原文地址:https://www.cnblogs.com/xutongbao/p/15264304.html