LoginSignup
1
1

More than 3 years have passed since last update.

1分でDenoを触る

Posted at

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
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1