n8n · Execute Command node

Command failed: <command> /bin/sh: <command>: not found

Short answer

This n8n Execute Command error occurs when the shell environment cannot find one of the commands in the Command parameter. Check that the command and its arguments don't have typos in the Command parameter.

VerifiedLast verified

01Error text

n8n error
Command failed: <command> /bin/sh: <command>: not found

02Likely causes

  • The command or its arguments have typos.
  • The command is not in the PATH of the user running n8n.
  • With Docker, the command is not available within the container.

03How to fix it

  1. Check that the command and its arguments don't have typos in the Command parameter.
  2. Check that the command is in the PATH of the user running n8n.
  3. If you run n8n with Docker, check whether the command is available within the container by running it manually. If it isn't, extend the official n8n image with a custom image that includes your command.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for n8n work:Open n8n jobsn8n rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.