Depending on your OS the format might be different, but set up the following three environment variables.
export CONSCRIPT_HOME="$HOME/.conscript"
export CONSCRIPT_OPTS="-XX:MaxPermSize=512M -Dfile.encoding=UTF-8"
export PATH=$CONSCRIPT_HOME/bin:$PATH
CONSCRIPT_HOME
is where Conscript will download various files.
CONSCRIPT_OPTS
is JVM arguments passed on to the apps that you installed using Conscript.
$CONSCRIPT_HOME/bin
. Optionally you can change this location using $CONSCRIPT_BIN
for example to ~/bin/
PATH
is your OS’s path variable. Add $CONSCRIPT_HOME/bin
or $CONSCRIPT_BIN
to the path.
There are three methods of installation available
Download the conscript runnable jar. On most OSes you can run it by double-clicking, but if that doesn’t work you can also run it from the command line.
$ java -jar conscript_2.11-0.5.8-proguard.jar
A “splash screen” will appear during installation. Don’t close it until you see a message that cs
was installed, or that something went wrong.
If you prefer, you can install conscript by piping this shell script.
wget https://raw.githubusercontent.com/foundweekends/conscript/master/setup.sh -O - | sh
If you prefer, you can download the PowerShell script and run it.