Here are two possible reasons the script might not work for you:
You have Coda installed in a location other than /Applications/Coda.app.
In this case, you need to set the environment variable $CODAPATH to point to the correct location. Open up your .bash_profile and add:
export CODAPATH=/path/to/your/Coda.appRestart Terminal and you will be good to go.
You don't have write permissions to /usr/local/bin.
This is the directory where Command-Line Coda installs itself. If you are not running as the admin user on your computer, you won't be able to install the plugin in this directory.
