Skip to main content

Tooling setup

Getting the npm package

To install Rostar, make sure Node.js is set up. After that, it can installed by getting the rostar package:

npm install -g rostar

Running the command with the -g argument is recommended, and allows you to run rostar from any location in your console.

Installing Rojo and Remodel

It is recommended to use Foreman for managing Rostar's required tools - Rojo and Remodel. Foreman can be installed through cargo or by getting the binary files inside your system PATH.

note

Foreman may be replaced by Aftman in the future.

Setting up Foreman

  1. Open the "Edit the system environment variables" application.

    Edit the system environment variables

  2. Select "Environment Variables...".

    Environmment Variables...

  3. Under the "User variables for me" section, select "Path" and click "Edit...".

    Edit...

  4. In the menu that opens, click "New".

    New

  5. Add the C:\Users\<My username>\.foreman\bin\ directory.

  6. Create the C:\Users\<My username>\.foreman\bin\ directory:

    mkdir %userprofile%\.foreman\bin
  7. Download the Foreman archive specific to your OS from the releases on GitHub.

  8. Unzip the archive and place the executable in the C:\Users\<My username>\.foreman\bin\ directory.