简体   繁体   中英

zsh: command not found: denon - Even after installing denon

I install denon on my mac and then tried to run this cmd: denon --init

I get this message zsh: command not found: denon

Even when I try to check for the version using denon --version , it throws the same message.

After some googling and trial and error I found the solution to the above problem.

Looks like denon got installed at a different path. So we need to provide the correct path.

Run the below cmd in terminal. You get this path after your denon installation is complete.

export PATH="/Users/<your account>/.deno/bin:$PATH"

Now try running your denon cmds.

After installation, just run "export" commands shown in terminal:

Deno was installed successfully to /Users/John/.deno/bin/deno

Manually add the directory to your $HOME/.zshrc (or similar)

export DENO_INSTALL="/Users/John/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM