Skip to content

isabella232/flutter-deno-sample-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DENO INSTALLATION AND SETUP

Command Line Installation Setup

Using Shell (macOS and Linux):

curl -fsSL https://deno.land/x/install/install.sh | sh

Using PowerShell (Windows):

iwr https://deno.land/x/install/install.ps1 -useb | iex

Using Scoop (Windows):

scoop install deno

Using Chocolatey (Windows):

choco install deno

Using Homebrew (macOS):

brew install deno

Using Cargo (Windows, macOS, Linux):

cargo install deno

Direct Download

Deno binaries can also be installed manually, by downloading a zip file at

After installation check in your command line using

deno --version

Check whether you get the following output :

deno 1.0.0
v8 8.4.300
typescript 3.9.2

If you want to download Typescript manually (Optional)

npm install -g typescript

Make sure you have npm library installed for the above code to run

Deno Basic Commands

  • deno --version - For checking the version of Deno
  • deno help - For Deno related help and actions
  • deno run - To run the Deno code and make the server up

Use this extension for VSCode only

Quicklinks

Update Dependencies

In order to reload a module or all modules you have to use: --reload

For that module specifically:

deno run --reload=https://deno.land/std/http/server.ts index.js

or just use --reload without any value to reload all modules:

deno run --reload index.js

You can even select a couple of modules if you pass comma separated modules to --reload

deno run --reload=module1,moduleN index.js

Or reload all std modules

deno run --reload=https://deno.land/std index.js

You can use deno cache instead of deno run too. The former will just download the dependencies, while the former download & run the script.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%