JetBrains Rider 2018.1 Help

Installing and Removing Bower Packages

Bower packages can be installed and used only in a specific project. JetBrains Rider supports two installation modes: from the command line and through the dedicated user interface.

On this page:

Installing a Bower package in the command-line mode

  1. Open the embedded Terminal (View | Tool Windows | Terminal) and switch to the directory where Bower is stored or define a PATH variable for it so it is available from any folder, see Installing Bower.
  2. Type the following command at the command prompt:
    bower install <tool name>

Installing a Bower package through the JetBrains Rider interface

  1. Run Bower from JetBrains Rider using the Bower page of the Settings dialog box.
    1. Open the Settings/Preferences by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or JetBrains Rider | Preferences for macOS. Expand the Languages & Frameworks node, and then click Bower under JavaScript.
    2. On the Bower page that opens, the Packages area shows all the Bower-dependent packages that are currently installed on your computer, both at the global and at the project level. Click new.
    3. In the Available Packages dialog box that opens, select the required package.
    4. Optionally specify the product version and click Install Package to start installation.

Removing Bower packages

Open the Bower page, select the package to remove, and click delete.png.

Installing a Bower package as a development dependency

  • Run the installation from the command line in the global mode: open the embedded Terminal (View | Tool Windows | Terminal) and type bower install -dev <tool name> at the command prompt.
  • Install the package using the JetBrains Rider user interface:
    1. Open the Settings/Preferences by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or JetBrains Rider | Preferences for macOS. Expand the Languages & Frameworks node, and then click Bower under JavaScript.
    2. On the Bower page that opens, the Packages area shows all the Bower-dependent packages that are currently installed on your computer, both at the global and at the project level. Click new.
    3. In the Available Packages dialog box that opens, select the required package.
    4. Select the Options checkbox and type --dev in the text box next to it.
    5. Optionally specify the product version and click Install Package to start installation.
Last modified: 20 August 2018

See Also

Procedures:

Reference: