Install Guise CLI
The Guise command line interface provides access to Guise functionality, principally Guise Mummy for static site generation.
Install Java
Make sure the latest latest version of the Java Development Kit (JDK) is installed on your system.
- The easiest way to get Java is from Adoptium. Download the Temurin™ JDK latest release and follow the installer instructions for your platform.
- You must use Java 17 or later.
- Whatever Java distribution you use, preferably make sure the download says “JDK” and not “JRE”.
- The
JAVA_HOME
environment variable must be set correctly. (The installer will do this automatically if this feature is selected.) - Make sure the Java
…/bin
subdirectory is added your systemPATH
. (The installer will do this automatically if this feature is selected.)
Install Guise CLI
Below find the instructions for installing and running Guise corresponding to your computer system. When you are finished, you can verify your installation by typing guise --version
.
Windows Installation
Guise CLI comes with a standalone guise.exe
file you can place in any directory, preferably on your path.
- Find the latest Guise CLI version on Maven.
- Click the download icon next to the latest version, and select bin.zip.
- Download the
guise-cli-x.x.x-bin.zip
file, wherex.x.x
represents the version number. - Unzip the
guise-cli-x.x.x-bin.zip
file in a directory of your choice. - Inside the unzipped contents, find
guise-cli-x.x.x\bin\guise.exe
file and copy it to the desired location, preferably on your user path or system path.
If Java is correctly installed and the guise.exe
file can be found on the path, you can run Guise CLI by simply typing guise
and pressing Enter.
Linux Installation
Guise CLI comes with a version of its executable JAR with a self-contained shell script which you can invoke as guise
.
- Find the latest Guise CLI version on Maven.
- Click the download icon next to the latest version, and select bin.tar.xz.
- Download the
guise-cli-x.x.x-bin.tar.xz
file, wherex.x.x
represents the version number. - Extract the
guise-cli-x.x.x-bin.tar.xz
file in a directory of your choice. You can use the commandtar -xvf guise-cli-x.x.x-bin.tar.xz
, substituting the filename with correct version number. - Inside the unzipped contents, find the
guise-cli-x.x.x/bin/guise
file and copy it to the desired location, preferably on your user path or system path. Your Linux distribution may already have~/.local/bin/
or~/bin/
on your user path, providing an ideal spot to place the files. This file is already set to be executable and may be invoked asguise
; it will use the installed Java to start the executable JAR inside the same file.
If Java is correctly installed and the guise
file can be found on the path, you can run Guise CLI by simply typing guise
and pressing Enter.
Other Platforms Installation
Because Guise is based on Java, it can be run directly from the executable JAR file on any system that supports the required version of Java. You do not need to perform the following installation if you already installed Guise CLI for your specific system above.
- Find the latest Guise CLI version on Maven.
- Click the download icon next to the latest version, and select either bin.tar.xz or bin.zip.
- Download and extract the archive file.
- Inside the unzipped contents, find the
guise-cli-x.x.x/bin/guise-cli-x.x.x-exe.jar
file and copy it to the desired location
If Java is correctly installed, you can run Guise CLI via the java -jar
command:
java -jar /path/to/guise-cli-x.x.x/bin/guise-cli-x.x.x-exe.jar