Deno v1.0が出たので、とりあえず触りたいという方向けに。
起動
Docker化してくれてる方がいるのでさらっと起動します。
docker run -it --entrypoint "bash" hayd/ubuntu-deno
サンプルを動かす
公式のサンプルを動かします。
deno run https://deno.land/std/examples/welcome.ts
アウトプット
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using master branch https://deno.land/std/examples/welcome.ts
Compile https://deno.land/std/examples/welcome.ts
Welcome to Deno 🦕
さらっとTypeScriptが走り恐竜くんが現れましたね。
あとは色々触ってみましょう。
参考
環境
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.4
BuildVersion: 19E287
% docker --version
Docker version 19.03.8, build afacb8b