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
Command failed: <command> /bin/sh: <command>: not found02Likely causes
- The command or its arguments have typos.
- The command is not in the
PATHof the user running n8n. - With Docker, the command is not available within the container.
03How to fix it
- Check that the command and its arguments don't have typos in the Command parameter.
- Check that the command is in the
PATHof the user running n8n. - 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
→Related errors
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