Try to run shell script command

Additionally, you can set an ENV_PATH variable that KM will use to run shell scripts with the default (and any other paths you have added) paths to your executables. I prefer this method because I don’t have to worry about supplying a path in every shell script action. If you need help setting the ENV_PATH variable, see this topic:

Create a PATH Environment Variable for Keyboard Maestro and Add /usr/local/bin to the Default Path