DEV Community

Yoshiya Hinosawa
Yoshiya Hinosawa

Posted on

You can omit `run` from `deno run` command

Since Deno version 1.46, you can omit run of deno run command.

You can execute hello world program like the below:

// hello.js
console.log("hello world");
Enter fullscreen mode Exit fullscreen mode
$ deno hello.js
hello
Enter fullscreen mode Exit fullscreen mode

Happy hacking!

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs