Problems n8n installation on MAC

Hi everyone - I’ve just followed the instructions for installing n8n locally on my Mac using Terminal. I installed NodeJS successfully and then ran the command npm install n8n -g.
The instructions were straightforward, but when I try to run it, I receive the following error: zsh: command not found:.

I’ve tried to locate where it was installed but haven’t been able to figure it out.

Any help would be greatly appreciated!

Thanks!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This appears to be related to how nodejs sets itself up in MacOS when you’re using the default shell - zsh. It’s possible that this might help.

Another option might be to change the default shell to bash.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.