---
title: Using The Command Line Options
tags:
  - docs
---

To use Pattern Lab you must use the command line interface. To view the available commands when using Pattern Lab do the following:

1. In a terminal window navigate to the root of your project
2. Type `php core/console --help`

To get the options for a particular command, for example the `--generate` command, you can type:

    php core/console --help --generate

## A Special Note About Windows

To access the command prompt on Windows you can [follow the directions from Microsoft](https://support.microsoft.com/en-us/windows/powershell-is-replacing-command-prompt-fdb690cf-876c-d866-2124-21b6fb29a45f). After getting to the command prompt type the following to make sure you have PHP installed:

    php -v

If you get an error and know that you've installed PHP you may need to [update your path variable so Windows can find PHP](http://willj.co/2012/10/run-wamp-php-windows-7-command-line/).
