JetBrains Rider 2018.1 Help


JetBrains Rider provides interface for installing, uninstalling, and upgrading client-side libraries and frameworks for your project using the Bower Package Manager. Alternatively, you can use the tool in the command line mode from the embedded local terminal.

Before you start

  1. Install the Node.js runtime environment and configure it as a local Node.js interpreter.
  2. Install and enable the ^plugin_name% repository plugin on the Plugins page as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

Installing Bower

Open the built-in JetBrains Rider Terminal (Ctrl+Alt+1) and type npm install -g bower at the command prompt.

Creating a Bower configuration file bower.json

  1. Open the embedded Terminal (View | Tool Windows | Terminal) and type the following at the command prompt:
    cd <your project folder> bower init
  2. Answer the questions to specify the following basic settings:
    • The testing framework to use.
    • The browsers to be captured automatically.
    • The patterns that define the location of test files to be involved in testing or excluded from it.

Configuring Bower in JetBrains Rider

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), click JavaScript under Languages and Frameworks, and then click Bower. The Bower page opens.
  2. Specify the Node.js interpreter to use. If you choose the Project alias, JetBrains Rider will automatically use the project default interpreter from the Node interpreter field on the Node.js and NPM page. In most cases, JetBrains Rider detects it and fills in the field automatically. You can also choose another configured local interpreter or click browseButton and configure a new one. See Configuring Node.js Interpreters for details.
  3. Specify the location of the Bower package and the bower.json configuration file.
Last modified: 8 March 2018