SPACE DOG
SPACE DOG•13mo ago

zsh: command not found: deno on macOS

please send help
No description
1 Reply
Deno AI Helper
Deno AI Helper•13mo ago
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. 🦕