Macintosh

Enable the alt key in OS X terminal

Here is howto enable the alt key in terminal Terminal > Preferences > Settings > Keyboard select ‘Use option as meta key’