SharePoint Framework, generate new project (Mac OSX)
1. Install NodeJS – https://nodejs.org
2. Install Gulp (globally)
sudo npm install -g gulp
3. Install Yeoman (globally)
sudo npm install -g yo
4. Install SharePoint generator for Yeoman
sudo npm install -g @microsoft/generator-sharepoint
5. Create a project directory and go to this directory
6. Use Yeoman to generate a new project
yo @microsoft/sharepoint
7. Done!