1 Reply
It seems like Deno is not installed on your system, or it's not in your system's PATH. According to the documentation, you can install Deno on macOS using Homebrew or Shell. Here are the commands for both methods:
Using Homebrew:
Using Shell:
After running one of these commands, Deno should be installed on your system. You can confirm the installation by running:
This should display the installed version of Deno.
If you've already installed Deno and you're still seeing the error, it's likely that Deno's binary is not in your system's PATH. You can add it to your PATH by adding the following line to your
.zshrc
or .bash_profile
file (replace /path/to/deno
with the actual path to the Deno binary):
Then, source your .zshrc
or .bash_profile
file to apply the changes:
Now, you should be able to run Deno from the command line. 🦕