To install Pattern Lab 3.0, run the following command in your terminal:
This will bring up an installation menu that presents the following steps:
npm create pattern-lab
Please specify a directory for your Pattern Lab project.- Choose the directory where you want to install Pattern Lab. The current directory is the default location.
Which edition do you want to use (defaults to edition-node)?- Choose the Pattern Lab edition that you want to install. The options are:
edition-node (handlebars engine),
edition-twig (php engine), and
Which starterkit do you want to use?- Choose the Starterkit you want to begin your project with. Starterkits define the initial components and assets that are included in the initial project. Start from scratch, start from a full demo, or a lightweight boilerplate.
Are you happy with your choices? (Hit enter for YES)?- Confirm your choices, and when done the Pattern Lab installation will begin.
Legacy versions of Pattern Lab Node 2.X are also available:
Choose your own adventure! Pick the edition of Pattern Lab 2.X that you'd like to use based on template language or environment:
A variety of plugins can be installed in Pattern Lab to assist in your web development: