ユーザ用ツール

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
deno [2021/06/07 23:56] – [導入] arakideno [2021/06/11 23:12] (現在) araki
行 43: 行 43:
         export PATH=${DENO_INSTALL}/bin:${PATH}         export PATH=${DENO_INSTALL}/bin:${PATH}
 fi fi
 +</code>
 +===== 更新 =====
 +
 +deno 自身が npmなどのパッケージマネージャの機能を持っているため、更新を deno 自身で行うことができる。
 +
 +<code>
 +$ deno upgrade [--version <バージョン番号>]
 +</code>
 +
 +バージョンを指定することで特定バージョンへの更新も行えるが、普通は特に指定しないで最新版へ更新すればいいだろう。
 +
 +<code>
 +$ deno upgrade
 +Looking up latest version
 +Found latest version 1.11.0
 +Checking https://github.com/denoland/deno/releases/download/v1.11.0/deno-x86_64-unknown-linux-gnu.zip
 +30.1 MiB / 30.1 MiB (100.0%)
 +Deno is upgrading to version 1.11.0
 +Archive:  /tmp/.tmpmQONJD/deno.zip
 +  inflating: deno
 +Upgraded successfully
 +$ deno --version
 +deno 1.11.0 (release, x86_64-unknown-linux-gnu)
 +v8 9.1.269.35
 +typescript 4.3.2
 +$
 </code> </code>
  
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information