myesn

myEsn2E9

hi
github

Deno: 安装

安装#

访问 https://github.com/denocn/deno_install 按照提示安装。
windows 通过 powershell 安装后即可使用,但 ubuntu 还需要做额外的工作:

nano ~/.bashrc
# 将以下两行添加到末尾
export DENO_INSTALL="/home/xiaoquantang/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# 应用最新配置(使其生效)
source ~/.bashrc

命令行智能提示补全#

windows#

deno completions bash > "%USERPROFILE%\deno.bash"
source "%USERPROFILE%\deno.bash"

ubuntu#

deno completions bash > ~/.deno/deno.bash
source ~/.deno/deno.bash

更新#

deno upgrade

设置开发环境#

https://docs.deno.com/runtime/manual/getting_started/setup_your_environment

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.