Post date: Mar 29, 2015 4:48:05 PM
Because Gulp is built atop Node.js, you’ll first need to install Node. No matter your operating system this is easily done by downloading one of the installers via the Node.js website. If you’d prefer to build Node from source you can download the source code via this link. If like me you’re a Mac user, you can install Node via Homebrew. Linux users additionally likely have access to Node via their distribution’s package manager.
Once installed you can confirm Node is accessible via the command-line by retrieving the Node version number:
1
$
node
-v2
v0.10.36
Node users have access to a great number of third-party libraries known as Node Packaged Modules (NPM). You can install these modules via the aptly-named npm
utility. We’ll use npm
to install Gulp:
1
$
npm
install
-g
gulp
Once installed you should be able to execute Gulp from the command-line:
1
$
gulp
-v2
[14:12:51]
CLI
version
3.8.10
With Gulp installed it’s time to install Elixir!