A secure runtime for JavaScript and TypeScript.
See deno.land for more help.
- Linux manual install:
$ curl -fsSL https://deno.land/x/install/install.sh | sh - Linux with Snap - from SnapCraft Mint instructions.
$ sudo apt update $ sudo apt install snapd $ sudo snap install deno
- macOS:
- Use
curlcommand as for Linux. - Use Homebrew:
$ brew install deno
- Use
macOS Homebrew notes
Installing on Homebrew gave me version 3 minor versions behind. The latest was 1.4. Using Deno's upgrade command got me to 1.7.
$ brew install deno
$ deno --version
deno 1.4 ...$ brew upgrade deno
$ deno --version
deno 1.7.0 (release, x86_64-apple-darwin)
v8 8.9.255.3
typescript 4.1.3That seems to have replaced the old one, as I still only have one Deno binary available when I check all with which -a deno.
Though it didn't seem to break Homebrew. But if Homebrew someday allows 1.5, will that downgrade my 1.7 to 1.5?
$ which -a deno
/usr/local/bin/deno
$ brew upgrade deno
Warning: deno 1.4.6 already installed`Check installed version:
$ deno --versionUpgrade to the latest Deno:
$ deno upgrade