Skip to content

Installation

Shreyash Saitwal edited this page Jun 23, 2021 · 16 revisions

Prerequisites

In order to start building AI2 extensions with Rush, you need to have the Java JDK version 8 installed on your system. To make sure you have the correct version of JDK installed, run java -version in your favorite terminal app. You should see an output similar to this:

$ java -version
  java version "1.8.0_121"

To install Rush on your system, run one of the following commands from the appropriate shell.

Using PowerShell (Windows only)

iwr https://raw.githubusercontent.com/shreyashsaitwal/rush-cli/main/scripts/install/install.ps1 -useb | iex

With PowerShell, you don't need to update the PATH environment variable manually, the script does it for you automatically.

Using Bash

curl https://raw.githubusercontent.com/shreyashsaitwal/rush-cli/main/scripts/install/install.sh -fsSL | bash

After running the above script, you need to update the PATH environment variable. Instructions for the same will be printed by the script once everything else is setup.

Clone this wiki locally