D
Deno

help

zsh: command not found: deno on macOS

Llakshya08309/16/2023
please send help
No description
DAHDeno AI Helper9/16/2023
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:
brew install deno
brew install deno
Using Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh
curl -fsSL https://deno.land/x/install/install.sh | sh
After running one of these commands, Deno should be installed on your system. You can confirm the installation by running:
deno --version
deno --version
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):
export PATH="/path/to/deno:$PATH"
export PATH="/path/to/deno:$PATH"
Then, source your .zshrc or .bash_profile file to apply the changes:
source ~/.zshrc
# or
source ~/.bash_profile
source ~/.zshrc
# or
source ~/.bash_profile
Now, you should be able to run Deno from the command line. 🦕

Looking for more? Join the community!