A quick overview of the Deno CLI

A quick overview of the Deno CLI

A quick introduction to the Deno CLI. It's a batteries included executable with everything you need to develop, test, and run Deno code. A quick overview of the Deno CLI

The Deno CLI is a batteries included executable with everything you need to develop, lint, test, and run Deno code.

CLI commands in Deno version 1.4:

  • deno bundle
  • deno cache
  • deno completions
  • deno doc
  • deno eval
  • deno fmt
  • deno help
  • deno info
  • deno install
  • deno lint
  • deno repl
  • deno run
  • deno test
  • deno types
  • deno upgrade

In this article, we'll briefly discuss each command.

Tip: You can use the --help option to get information about each command, for example deno run --help.

Common CLI options in Deno version 1.4 supported by all commands:

  • --help: Display usage and example information about one or all commands.
  • --log-level <debug|info>: Filter output based on log level.
  • --quiet: Disable most intermediary output.
  • --unstable: Enable experimental Deno APIs, commands, and options.
  • --version: Display the versions of Deno, V8, and TypeScript included in the deno executable.

Other than these, some commands support permission options such as --allow-net. We will not discuss these in this article.

deno nodejs javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Top 5 Reasons Javascript Developers Prefer Deno over Nodejs

The maker of NodeJS, Ryan Dahl, has released a new runtime that aims to solve many of the shortcomings of Node. Your initial reaction might be “Oh great, another Javascript framework? Just what I needed…”. Don’t worry, I had the same reaction. After understanding the advantages, I too saw why Deno is exactly what a back-end Javascript developer needs in 2020. Let’s take a look at the top 5 reasons javascript developers are having a much smoother and more modern experience using Deno vs. Node.

Deno - How to Compile & Run Javascript Code in Deno Runtime

Learn How to Compile & Run Javascript Code in Deno Runtime.

What is Deno? Deno vs. NodeJS

What is Deno? Deno vs Node. Deno is the upgraded version of NodeJS. Explore features of Deno. Will it take over Node.js or not? Deno is based on Google's Chromium V8 JavaScript engine and written in programming language Rust as opposed to C++ for Node

Deno ¿el verdadero Nodejs?

Deno ¿el verdadero Nodejs? - El 13 de mayo de 2020 se liberó la versión 1.0 de Deno, un nuevo entorno de ejecución para correr javascript y typescript, basado en el motor V8 de Google y ...

Decoding Nodejs

The main goal of this blog is to explain the “Architecture of Nodejs” and to know how the Nodejs works behind the scenes. Generally, most of the server-side languages, like PHP, ASP.NET, Ruby, and including Nodejs follows multi-threaded architecture. That means for each client-side request initiates a new thread or even a new process.