2013-10-09 12:30:53 +02:00
|
|
|
---
|
2015-04-02 01:51:37 +02:00
|
|
|
title: Install Sass
|
2013-10-09 12:30:53 +02:00
|
|
|
---
|
2013-05-19 22:22:05 +02:00
|
|
|
|
2015-04-02 01:51:37 +02:00
|
|
|
%h2 There are a couple of ways to start using Sass:
|
2013-10-12 20:25:16 +02:00
|
|
|
%ol.list-columns
|
2013-10-12 17:57:34 +02:00
|
|
|
%li.gui-application
|
2013-10-12 23:39:55 +02:00
|
|
|
%h3 Applications
|
2015-01-07 05:39:20 +01:00
|
|
|
%p= image_tag "illustrations/mouse.svg", class: "header-image", height: "160", alt: "Mouse"
|
2013-10-12 23:39:55 +02:00
|
|
|
%p
|
2013-12-20 00:56:55 +01:00
|
|
|
There are a good many applications that will get you up and running
|
2015-04-02 01:51:37 +02:00
|
|
|
with Sass in a few minutes for Mac, Windows, and Linux. You can download
|
2013-10-12 23:39:55 +02:00
|
|
|
most of the applications for free but a few of them are paid apps
|
|
|
|
<small>(and totally worth it)</small>.
|
2013-10-09 12:30:53 +02:00
|
|
|
|
2013-10-12 23:39:55 +02:00
|
|
|
%ul.list-feature
|
2013-10-11 22:06:20 +02:00
|
|
|
%li
|
2013-10-12 17:57:34 +02:00
|
|
|
= link_to "CodeKit", "http://incident57.com/codekit/"
|
2013-10-15 15:18:56 +02:00
|
|
|
%span.info (Paid)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.mac-icon
|
|
|
|
%li
|
2017-02-16 01:23:44 +01:00
|
|
|
= link_to "Compass.app", "http://compass.kkbox.com/"
|
2013-10-15 15:18:56 +02:00
|
|
|
%span.info (Paid, Open Source)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.mac-icon
|
|
|
|
%span.windows-icon
|
|
|
|
%span.linux-icon
|
2015-08-07 13:51:21 +02:00
|
|
|
%li
|
|
|
|
= link_to "Ghostlab", "http://www.vanamco.com/ghostlab/"
|
|
|
|
%span.info (Paid)
|
|
|
|
%span.mac-icon
|
|
|
|
%span.windows-icon
|
2013-10-14 13:58:09 +02:00
|
|
|
%li
|
|
|
|
= link_to "Hammer", "http://hammerformac.com/"
|
2013-10-15 15:18:56 +02:00
|
|
|
%span.info (Paid)
|
2013-10-14 13:58:09 +02:00
|
|
|
%span.mac-icon
|
2013-10-12 17:57:34 +02:00
|
|
|
%li
|
|
|
|
= link_to "Koala", "http://koala-app.com/"
|
2013-10-15 15:18:56 +02:00
|
|
|
%span.info (Open Source)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.mac-icon
|
|
|
|
%span.windows-icon
|
|
|
|
%span.linux-icon
|
2013-10-11 22:06:20 +02:00
|
|
|
%li
|
2013-10-12 17:57:34 +02:00
|
|
|
= link_to "LiveReload", "http://livereload.com/"
|
2013-10-15 15:18:56 +02:00
|
|
|
%span.info (Paid, Open Source)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.mac-icon
|
|
|
|
%span.windows-icon
|
2013-10-11 22:06:20 +02:00
|
|
|
%li
|
2014-11-04 14:00:20 +01:00
|
|
|
= link_to "Prepros", "https://prepros.io/"
|
|
|
|
%span.info (Paid)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.mac-icon
|
|
|
|
%span.windows-icon
|
2014-11-04 14:00:20 +01:00
|
|
|
%span.linux-icon
|
2013-10-11 22:06:20 +02:00
|
|
|
%li
|
2016-09-07 00:14:40 +02:00
|
|
|
= link_to "Scout-App", "http://scout-app.io/"
|
|
|
|
%span.info (Free, Open Source)
|
2013-10-12 17:57:34 +02:00
|
|
|
%span.windows-icon
|
2016-09-07 00:14:40 +02:00
|
|
|
%span.linux-icon
|
|
|
|
%span.mac-icon
|
2013-10-09 12:30:53 +02:00
|
|
|
|
2018-03-17 00:19:48 +01:00
|
|
|
%li.command-line
|
2013-10-12 23:39:55 +02:00
|
|
|
%h3 Command Line
|
2015-01-07 05:39:20 +01:00
|
|
|
%p= image_tag "illustrations/keyboard.svg", class: "header-image", height: "160", alt: "Keyboard"
|
2018-03-17 00:19:48 +01:00
|
|
|
|
|
|
|
:markdown
|
|
|
|
When you install Sass on the command line, you'll be able to run the
|
|
|
|
`sass` executable to compile `.sass` and `.scss` files to `.css` files.
|
|
|
|
For example:
|
|
|
|
|
|
|
|
sass source/stylesheets/index.scss build/stylesheets/index.css
|
|
|
|
|
|
|
|
First install Sass using one of the options below, then run
|
|
|
|
`sass --version` to be sure it installed correctly. If it did, this will
|
|
|
|
include `#{impl_version(:dart)}`. You can also run `sass --help` for more
|
|
|
|
information about the command-line interface.
|
|
|
|
|
|
|
|
Once it's all set up, <strong>go and play</strong>. If you're brand new to
|
|
|
|
Sass we've set up some resources to help you learn pretty darn quick.
|
|
|
|
|
|
|
|
%p= link_to "Learn More About Sass", "/guide", :class => "button primary"
|
|
|
|
|
|
|
|
%dl
|
|
|
|
%dt Install Anywhere (Standalone)
|
|
|
|
%dd
|
|
|
|
You can install Sass on Windows, Mac, or Linux by downloading the
|
|
|
|
package for your operating system
|
|
|
|
#{link_to "from GitHub", release_url(:dart)} and
|
2018-03-21 22:11:45 +01:00
|
|
|
<a href="https://katiek2.github.io/path-doc/">adding it to your
|
|
|
|
<code>PATH</code></a>. That's all—there are no external dependencies and
|
|
|
|
nothing else you need to install.
|
2018-03-17 00:19:48 +01:00
|
|
|
|
|
|
|
%dt Install Anywhere (npm)
|
2013-10-12 23:39:55 +02:00
|
|
|
%dd
|
2018-03-17 00:19:48 +01:00
|
|
|
%p
|
|
|
|
If you use Node.js, you can also install Sass using
|
|
|
|
<a href="https://www.npmjs.com/">npm</a> by running
|
|
|
|
|
2014-12-04 20:00:17 +01:00
|
|
|
%pre
|
|
|
|
:preserve
|
2018-03-17 00:19:48 +01:00
|
|
|
npm install -g sass
|
|
|
|
|
2018-04-02 02:45:05 +02:00
|
|
|
<strong>However, please note</strong> that this will install the pure
|
2018-03-17 00:19:48 +01:00
|
|
|
JavaScript implementation of Sass, which runs somewhat slower than the
|
|
|
|
other options listed here. But it has the same interface, so it'll be
|
|
|
|
easy to swap in another implementation later if you need a bit more
|
|
|
|
speed!
|
2013-05-19 22:22:05 +02:00
|
|
|
|
2018-03-17 00:19:48 +01:00
|
|
|
%dt Install on Windows (Chocolatey)
|
2013-10-12 23:39:55 +02:00
|
|
|
%dd
|
2018-03-17 00:19:48 +01:00
|
|
|
%p
|
|
|
|
If you use <a href="https://chocolatey.org/">the Chocolatey package
|
|
|
|
manager</a> for Windows, you can install Dart Sass by running
|
|
|
|
|
|
|
|
%pre
|
|
|
|
:preserve
|
|
|
|
choco install sass
|
2013-10-09 12:30:53 +02:00
|
|
|
|
2018-03-17 00:19:48 +01:00
|
|
|
%dt Install on Mac OS X (Homebrew)
|
2013-10-12 23:39:55 +02:00
|
|
|
%dd
|
2018-03-17 00:19:48 +01:00
|
|
|
%p
|
|
|
|
If you use <a href="https://brew.sh/">the Homebrew package
|
|
|
|
manager</a> for Mac OS X, you can install Dart Sass by running
|
|
|
|
|
|
|
|
%pre
|
|
|
|
:preserve
|
2018-03-28 19:31:03 +02:00
|
|
|
brew install --devel sass/sass/sass
|