You need to configure the mac 'terminal' application so the 'alt / option' key sends 'meta'. In order to do this, go to:
Terminal > Preferences > Settings > Keyboard
and select the 'Use option as meta key' checkbox at the bottom of the window.
I hope that helps,
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.