PhpStorm 2016.2 Help

New Project: Yeoman

File | New Project

Welcome Screen | Create New Project

The dialog box opens when you choose Yeoman from the list in the left-hand pane of the Create New Project dialog.

ItemDescription
Location In this text box, specify the path to the project folder where the project-related files will be stored.
Generators In this area, create a list of Yeoman generators you need and select the one to use during the current project generation.
  • To add a generator to the list:
    1. Click Install Generator.
    2. From the dialog box that opens showing all the available generator packages, select the required package in the left-hand pane and click the Install Generator button that appears in the right-hand pane. You can install several packages one after another without leaving the dialog box.

      When the installation is over, click Close to return to the list of generators which is already expanded with the newly added package.

  • To create a project using a generator:
    1. In the Location field, specify the folder where the new project will be created. Type the path manually or click the browseButton.png and select the folder in the dialog box that opens.
    2. If necessary, in the Options text box, specify additional flags to customize the project creation. The set of available flags depends on the selected generator.
    3. Select the required generator from the list and click Next.
    4. Specify the required settings in the New Project wizard that starts. The number of pages and their contents depend on the chosen generator.
    5. On the last page of the wizard, select or clear the Run npm install&bower install check box to specify whether you want to run Node Package Manager and Bower to install the packages that are required for developing the new project.
    6. Click Next and choose to open the new project in the current window or in the new one.
Options In this text box, specify additional flags to customize the project creation. The set of available flags depends on the selected generator.
Configure Node.js and Yeoman Click this link to open the Yeoman dialog box and change the settings of Node.js and Yeoman.

See Also

Last modified: 24 November 2016