Skip to content

Installation

Shreyash Saitwal edited this page Jul 30, 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 the following commands from the appropriate shell.

Using PowerShell (Windows only)

  1. [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
  2. 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 Shell

  1. curl https://raw.githubusercontent.com/shreyashsaitwal/rush-cli/main/scripts/install/install.sh -fsSL | sh
  2. 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