Installation

Prerequisites

To start building AI2 extensions with FAST, ensure that JDK is installed on your system (JDK 8 or JDK 11 is recommended). To verify the correct JDK version, run java -version in your preferred terminal.

Windows Installation

You can install FAST-CLI on Windows using PowerShell. Run the following command:

PowerShell
iwr https://raw.githubusercontent.com/jewelshkjony/fast-cli/main/scripts/install/win.ps1 -useb | iex

Manual Setup for Windows

  1. Download the fast.zip from here.
  2. Create a new folder by name Fast.
  3. Unzip the fast.zip to the newly created Fast folder.
  4. Copy the absolute path of the Fast folder.
  5. Create FAST_HOME environment variable with the copied value (Optional).
  6. Set the copied value to path. (mandatory)
  7. You're done. Now open the terminal and write fast -v to check the installed version.

FAST Tree Structure

After installation, FAST has the following directory structure:

Fast          1
   lib      2
   fast.bat 3
   fast.jar 4
   icon.png 5
   .license 6

Explanation

  1. Fast directory

    This is where you install the FAST. Absolute path of this directory will be used as FAST_HOME.

  2. lib directory

    This directory contains all the required libraries and tools.

  3. fast.bat

    This file will be used to call the fast.jar globally. This file is only required for Windows user.

  4. fast.jar

    This is the main executable of FAST-CLI.

  5. icon.png

    This is the default icon. It'll be used on creating a new extension project.

  6. .license

    This is a must required license file to unlock Premium features. Once you become a premium member, the developer will create a unique license file for you.

Verifying Installation

To verify that FAST-CLI is installed correctly, run the following command:

Terminal
fast -v

This command should display the current version of FAST-CLI.