Skip to content

Instantly share code, notes, and snippets.

@benatkin
Last active August 25, 2021 04:39
Show Gist options
  • Save benatkin/678973a71f31d4cdebad87e6d3372fc1 to your computer and use it in GitHub Desktop.
Save benatkin/678973a71f31d4cdebad87e6d3372fc1 to your computer and use it in GitHub Desktop.
How to install Deno

How to install Deno

To install Deno, run the installation script, and add the lines to your profile. Here it is for ~/.zshrc. The Deno install script doesn't automatically add it to the end. Rather than do it manually, I have a little script that does it.

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

cat <<'EOF' >> ~/.zshrc
export DENO_INSTALL="/home/bat/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment