Brew install deno Page

brew install deno



Return to Deno, Node.js, Deno Installation, brew install, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, choco install deno


macOS


Homebrew on macOS

brew search deno

==> Formulae

deno denominator open-image-denoise dgen

==> Casks
code-notes deco sidenotes topaz-denoise-ai


iMac ~ % brew install deno

==> Auto-updated Homebrew!

Updated 1 tap (homebrew/core).

Running `brew update --auto-update`...

> Downloading https://ghcr.io/v2/homebrew/core/deno/manifests/1.27.1

> Downloading https://ghcr.io/v2/homebrew/core/deno/blobs/sha256:14ed55640cebc

> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

> Pouring deno--1.27.1.monterey.bottle.tar.gz

==> Caveats

zsh completions have been installed to:

/usr/local/share/zsh/site-functions

==> Summary

🍺 /usr/local/Cellar/deno/1.27.1: 10 files, 81.5MB

==> Running `brew cleanup deno`...

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

----

iMac ~ % deno --version

deno 1.27.1 (release, x86_64-apple-darwin)

v8 10.8.168.4

typescript 4.8.3

----

iMac ~ % deno --help

deno 1.27.1

A modern JavaScript runtime and TypeScript runtime


Docs: https://deno.land/manual@v1.27.1

Modules: https://deno.land/std/ https://deno.land/x/

Bugs: https://github.com/denoland/deno/issues

To start the REPL:

deno

To execute a script:

deno run https://deno.land/std/examples/welcome.ts

To evaluate code in the shell:

deno eval "console.log(30933 + 404)"

USAGE:
deno [OPTIONS] [SUBCOMMAND]

OPTIONS:
-h, --help
Print help information

-q, --quiet
Suppress diagnostic output

--unstable
Enable unstable features and APIs

-V, --version
Print version information

SUBCOMMANDS:
bench
Run benchmarks
bundle
Bundle module and dependencies into single file
cache
Cache the dependencies
check
Type-check the dependencies
compile
UNSTABLE: Compile the script into a self contained executable
completions
Generate shell completions
coverage
Print coverage reports
doc
Show documentation for a module
eval
Eval script
fmt
Format source files
help
Print this message or the help of the given subcommand(s)
info
Show info about cache or info related to source file
init
Initialize a new project
install
Install script as an executable
lint
Lint source files
lsp
Start the language server
repl
Read Eval Print Loop
run
Run a JavaScript or TypeScript program
task
Run a task defined in the configuration file
test
Run tests
types
Print runtime TypeScript declarations
uninstall
Uninstall a script previously installed with deno install
upgrade
Upgrade deno executable to given version
vendor
Vendor remote modules into a local directory

ENVIRONMENT VARIABLES:
DENO_AUTH_TOKENS A semi-colon separated list of bearer tokens and
hostnames to use when fetching remote modules from
private repositories
(e.g. "abcde12345@deno.land;54321edcba@github.com")
DENO_TLS_CA_STORE Comma-separated list of order dependent certificate
stores. Possible values: "system", "mozilla".
Defaults to "mozilla".
DENO_CERT Load certificate authority from PEM encoded file
DENO_DIR Set the cache directory
DENO_INSTALL_ROOT Set deno install's output directory
(defaults to $HOME/.deno/bin)
DENO_NO_PROMPT Set to disable permission prompts on access
(alternative to passing --no-prompt on invocation)
DENO_NO_UPDATE_CHECK Set to disable checking if a newer Deno version is
available
DENO_WEBGPU_TRACE Directory to use for wgpu traces
DENO_JOBS Number of parallel workers used for the --parallel
flag with the test subcommand. Defaults to number
of available CPUs.
HTTP_PROXY Proxy address for HTTP requests
(module downloads, fetch)
HTTPS_PROXY Proxy address for HTTPS requests
(module downloads, fetch)
NO_COLOR Set to disable color
NO_PROXY Comma-separated list of hosts which do not use a proxy
(module downloads, fetch)



Linux


Homebrew on Linux

Ubuntu



brew install deno

==> Downloading https://ghcr.io/v2/homebrew/core/deno/manifests/2.0.0
########################################################################################################################## 100.0%

> Fetching dependencies for deno: python-packaging, dbus and glib

> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/manifests/24.1_1
########################################################################################################################## 100.0%

> Fetching python-packaging

> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/blobs/sha256:575595301a31862ca4d2d0f6a39fd8e209adb81ff0926d65a8
########################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/dbus/manifests/1.14.10
########################################################################################################################## 100.0%

> Fetching dbus

> Downloading https://ghcr.io/v2/homebrew/core/dbus/blobs/sha256:9037402e48fc19b05f8b621e0e32efa3b4214513f0b4737894ef3d57704ce8
########################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.82.1
########################################################################################################################## 100.0%

> Fetching glib

> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:67d479d1efa505b1c6af6ed6e4fb75cc8d51c0275f50fc44ef954c73e94eec
########################################################################################################################## 100.0%

> Fetching deno

> Downloading https://ghcr.io/v2/homebrew/core/deno/blobs/sha256:cfd26ebc305d81c51d0d5dfdd3bf3ea09adfe965c7a2dabcfd88050f9167bb
########################################################################################################################## 100.0%

> Installing dependencies for deno: python-packaging, dbus and glib

> Installing deno dependency: python-packaging
==> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/manifests/24.1_1
Already downloaded: /home/bowman/.cache/Homebrew/downloads/0a8b3181cb4fa8bee143a75cd85f08eb834903bde31ef0a291f3fe9f82bdbe41--python-packaging-24.1_1.bottle_manifest.json
==> Pouring python-packaging--24.1_1.all.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/python-packaging/24.1_1: 74 files, 613.3KB

> Installing deno dependency: dbus

> Downloading https://ghcr.io/v2/homebrew/core/dbus/manifests/1.14.10
Already downloaded: /home/bowman/.cache/Homebrew/downloads/2dee97539c09d15349d9935f14c299bce3e52d11fd6d399a05a5190d0e7a1028--dbus-1.14.10.bottle_manifest.json

> Pouring dbus--1.14.10.x86_64_linux.bottle.tar.gz

> /home/linuxbrew/.linuxbrew/Cellar/dbus/1.14.10/bin/dbus-uuidgen --ensure=/home/linuxbrew/.linuxbrew/var/lib/dbus/machine-id
🍺 /home/linuxbrew/.linuxbrew/Cellar/dbus/1.14.10: 78 files, 3.0MB

> Installing deno dependency: glib

> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.82.1
Already downloaded: /home/bowman/.cache/Homebrew/downloads/8eae14bd8879d82f7909b1248fb30efc8327066a3c0dc33f2909c11e49182732--glib-2.82.1.bottle_manifest.json
==> Pouring glib--2.82.1.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/glib/2.82.1: 514 files, 40.7MB

> Installing deno

> Pouring deno--2.0.0.x86_64_linux.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/deno/2.0.0: 12 files, 218.9MB
==> Running `brew cleanup deno`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

> Caveats

> deno
Bash completion has been installed to:
/home/linuxbrew/.linuxbrew/etc/bash_completion.d



{{navbar_deno}}
navbar_deno

{{navbar_brew}}

{{navbar_footer}}