Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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