node

Minimum Requirements

Pattern compilation is done with Node, using npm to manage project dependencies. You can follow the directions for installing Node on the Node website if you haven’t done so already. Installation will include npm. The version of Node that maintainers develop against is documented here. Pattern Lab comes with its own local development webserver.

Because Pattern Lab’s output consists of HTML, CSS, and JavaScript there are no requirements for hosting your Pattern Lab site. Simply upload the ./public/ directory to your host and you should be good to go.

php

The requirements for Pattern Lab 2 vary depending on what features you want to use.

Minimum Requirements

To use the basic features of Pattern Lab to compile patterns, you must have PHP 5.4+ installed. On Mac OS X Pattern Lab should work “out of the box.” If you’re on Windows you can download PHP from PHP.net. Pattern Lab comes with its own built-in web server.

Because Pattern Lab’s output consists of HTML, CSS, and JavaScript there are no requirements for hosting your Pattern Lab site. Simply upload the ./public/ directory to your host and you should be good to go.

Pattern Lab uses Composer to manage project dependencies. While Pattern Lab can be downloaded as a Zip we highly recommend installing Composer so you can easily update your project in the future. Please follow the directions for installing Composer on the Composer website. We recommend you install it globally.