Skip to content

Installation and Setup

This document will guide you to install Cassini on your machine.

Cassini is a single executable file with no dependencies: there is nothing else to install to process LiDAR files and generate maps.

Installing with a script

The simplest way to install Cassini is to run its install script in a terminal. It downloads the latest release for your machine, puts the cassini executable in ~/.local/bin and adds that directory to your PATH if needed.

In PowerShell:

powershell -ExecutionPolicy Bypass -c "irm https://github.com/NicoRio42/cassini/releases/latest/download/cassini-installer.ps1 | iex"

Open a new terminal afterwards, so that it picks up the new PATH. To update Cassini, run the script again.

If you used to run Cassini with Docker, through a cassini function in your .bashrc or PowerShell profile, the script removes that function, so that the cassini command runs the installed executable instead of the Docker image. It keeps a copy of each file it changes, next to it, with a .cassini-backup extension. Set the CASSINI_NO_MODIFY_PATH environment variable to 1 to leave your files untouched: the script then only tells you where the function is.

Downloading Cassini executable

You can also download the archive corresponding to your Operating System:

Decompress it and copy the cassini executable where you want to use it on your machine. On macOS and Linux, the archive holds a cassini-<platform> folder that contains it.

Windows 10 and later can decompress the archive from the command prompt:

tar -xf cassini-x86_64-pc-windows-msvc.zip

Cassini needs the Microsoft Visual C++ runtime, which most Windows machines already have. If Windows reports that VCRUNTIME140.dll is missing, install the Visual C++ Redistributable.

The executable is not signed yet, so Windows SmartScreen may warn about it the first time you run it.

To check that it works, open a terminal in the directory containing the executable and type:

cassini --version

This should print the version of Cassini.

If you installed it with the script, cassini --version works from any directory.

If you want to make the cassini command globally available on you machine, you can follow this tutorial.

To update Cassini to the latest version, download the latest archive again and replace the executable.

Each release also lists a SHA-256 checksum for every archive, to check a download.

Building from source

You can also build Cassini yourself. Set up a Rust environment on your machine if you do not have one, with rustup, then clone the repository and install it:

git clone https://github.com/NicoRio42/cassini.git
cd cassini
cargo install --path . --locked

On Ubuntu, you might also need to install these libraries first:

sudo apt install libfontconfig1-dev libfreetype6-dev