Andrew Andrew - 2 years ago 1190
Bash Question

envsubst: command not found on Mac OS X 10.8

When I try to run a script that contains the envsubst command, I get this error. Looking online, this seems to be a standard bash command, so I am not sure what to install in order to get it to work.

Answer Source

envsubst is included in gettext package.

Therefore you may compile it by your own, using standard build tools such as make or using homebrew.

However, it seems to have little issue when installing gettext in MacOS. See following url for details: How to install gettext on MacOS X

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download