• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
LDLX@Y火星
博客园    首页    新随笔    联系   管理    订阅  订阅

Deno初识

第一步,下载安装deno, 你可以直接通过window自带的powershell进行安装,也可以先安装choco然后按照deno都是可以的

打开powershell

输入

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

然后等待一会,就会出现如下界面

 

 

 

如何安装choco

记住要用管理者权限打开powershell 

然后输入

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

过一会,输入 Choco --version

 

 说明安装成功了,

deno刚开始的圈子就画的很大,不需要package.json,比nodejs更加的安全,更好的支持es模块,将来的前景会比nodejs大很多

 

posted @ 2020-05-22 09:43  火星黑洞  阅读(332)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3