# Add this to end of ~/.zshrc export DENO_INSTALL="/$HOME/.deno" export PATH="$DENO_INSTALL/bin:$PATH"
Here is what the above code is Doing:
1. It’s creating a new directory in your home directory called .deno.
2. It’s adding the .deno/bin directory to your PATH.
3. It’s adding the .deno/bin directory to your PATH.
Now, you can run the following command to install Deno:
curl -fsSL https://deno.land/x/install/install.sh | sh