Setting Heroku config vars that contain the special character $
Assuming you are using Bash (which is likely if you are on Mac or Linux) you can use single quotes to escape strings with $
, or use \
:
$ echo $FOO$ echo "$FOO"$ echo '$FOO'$FOO$ echo \$FOO$FOO