--- title: Installation description: There are many ways to install Foundation, but if you're just getting started, we have a few suggestions. video: '6KwsGcEHVTE' --- ## Install with Package Managers Foundation is available on npm, Bower, Meteor, and Composer. The package includes all of the source Sass and JavaScript files, as well as compiled CSS and JavaScript, in uncompressed and compressed flavors.
Here's what comes in the package. ``` ├─ scss Source Sass files. Use this folder as a load path in Sass. ├─ js Source JavaScript files. If you're using a build system, make sure `foundation.core.js` is loaded first. └─ dist Compiled files: ├─ css * Compiled CSS files. Includes minified and unminified files. ├─ js * Concatenated JavaScript files. Includes minified and unminified files. └─ plugins * Standalone JavaScript plugins. ``` --- ## Install with Foundation CLI Not a fan of GUIs? The Node-powered Foundation CLI can install the same template projects for you. Install Foundation CLI: ```bash npm install --global foundation-cli # or sudo npm install --global foundation-cli ```
Recommended for beginners
A basic template to begin to use Foundation. It includes:
Recommended for experienced (or curious) users
A more advanced project including Foundation and a build process with:
See advanced Template installations
Foundation 5 users: if you already have the Foundation 5 CLI on your machine, you will only be able to access one of the commands, depending on how your command line environment is configured.
To remove the Foundation 5 CLI, run gem uninstall foundation
. After testing the Foundation 6 CLI, if you want to remove it to go back to the old CLI, run npm uninstall foundation-cli --global
.
Windows users: make sure you've python v2.7 available in your node environment since it's required by the node-gyp tool. There are two way to achieve this
npm config set python "%USERPROFILE%\.windows-build-tools\python27\python.exe"
The first way is recommended if you've not installed python v2.7 yet as it doesn't affect your machine outside the node environment. In case you've already installed python v2.7 you may of course skip both ways and start using foundationc-cli immediately.
If you aren't into Sass, we have a starter template with compiled CSS and JavaScript, as well as a starting `index.html` file for you to hack on. Just unzip and get coding!