This is the command-line interface for Foundation family of frameworks.. It downloads and installs blank templates in any of the three Foundation frameworks:
You'll need the following software installed to get started.
[sudo] npm install -g gulp bower.
The Foundation CLI is installed through npm.
npm install -g foundation-cli
This will add the
foundation command to your system.
The CLI periodically gets updates that add features or fix bugs. Use npm to upgrade the CLI to the newest version.
npm update -g foundation-cli
To check what version you currently have, use
Starts the setup process for a new Foundation project. The CLI will ask you which framework you want to use and a folder name for the project.
While inside of your app's folder, use the
watch command to assemble your app and run a test server.
cd appNamefoundation watch
While this process is running, you can view the assembled app in your browser, at this URL:
To build your app for production, use
Updates your Bower packages, which includes Foundation. Run this command when you want to update an existing project to the newest version of Foundation.
Lists all available commands in the CLI.
Add a command name at the end to learn how a specific command works.
foundation help new