zsh: command not found: hs //Install HS local

hello community
my challenge…

I am trying to install Hubspot in my local environment with the command (npm install -g @hubspot/cli).


command
Everything runs in the console, but it doesn’t work.

structure

If I do these steps before, it works temporarily until I close the console and close the task. (Resolving EACCES permissions errors when installing packages globally | npm Docs)

Fact: I m the wheel (Admin).. no crypt on my device

Hello @GMarsch ,

Did you get this figured out? Did you try using the Sudo command

@stefen , any thoughts?

@dennisedson @GMarsch if you installed Node.js via Brew.sh then you may want to make sure your global npm directory is in the right place and in your PATH. You could try following this article and see if that helps: Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew · GitHub

Hello @GMarsch ,
Use the sudo command when you’re installing. it will solve this issue.