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.
Foreman may be replaced by Aftman in the future.
Setting up Foreman
- Windows
- MacOS
- Linux
Open the "Edit the system environment variables" application.
Select "Environment Variables...".
Under the "User variables for me" section, select "Path" and click "Edit...".
In the menu that opens, click "New".
Add the
C:\Users\<My username>\.foreman\bin\
directory.Create the
C:\Users\<My username>\.foreman\bin\
directory:mkdir %userprofile%\.foreman\bin
Download the Foreman archive specific to your OS from the releases on GitHub.
Unzip the archive and place the executable in the
C:\Users\<My username>\.foreman\bin\
directory.
- Open or create the
~/.zshrc
file and add:/Users/<My username>/.foreman/bin
to the end of thePATH=
line. If this line doesn't exist add a new line with the contents:PATH=/Users/<My username>/.foreman/bin
- Download the Foreman archive specific to your OS from the releases on GitHub.
- Unzip the archive and place the executable in
/usr/local/bin/
.
- Depending on the shell, the
PATH
variable will have to be appended/home/<My username>/.foreman/bin
. - Download the Foreman archive specific to your OS from the releases on GitHub.
- Unzip the archive and place the executable in
/usr/local/bin/
.