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)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay