Install Mortise
Install Mortise from a release. To build it yourself, see Build Mortise from source.
-
Open the latest release.
-
Download the file for your platform and the sums file
Mortise-vX.Y.Z-SHA256SUMS.txt, into the same folder.Platform File macOS, Apple silicon Mortise-macos-arm64.dmgWindows, x64 Mortise-windows-x64-setup.exeLinux, x86_64 Mortise-linux-x86_64.AppImage, orMortise-linux-amd64.debfor Debian and Ubuntu -
Check the SHA-256 sum. Run the command in the folder of the downloads, with the version of the release in place of
vX.Y.Z.Terminal window shasum -a 256 -c --ignore-missing Mortise-vX.Y.Z-SHA256SUMS.txtThe line of the DMG must end in
OK.In PowerShell:
Terminal window (Get-FileHash -Algorithm SHA256 .\Mortise-windows-x64-setup.exe).Hash.ToLower()Select-String Mortise-windows-x64-setup.exe .\Mortise-vX.Y.Z-SHA256SUMS.txtThe two sums must be the same.
Terminal window sha256sum -c --ignore-missing Mortise-vX.Y.Z-SHA256SUMS.txtThe line of your file must end in
OK.If a sum differs, delete the file and download it again.
-
Install Mortise.
Open the DMG and drag Mortise to the Applications folder. The app is signed with a Developer ID and notarized by Apple, so macOS opens it without a warning.
Run
Mortise-windows-x64-setup.exe. The installer is not signed, so SmartScreen warns once. Choose More info, then Run anyway.For the AppImage, make the file executable, then run it:
Terminal window chmod +x Mortise-linux-x86_64.AppImage./Mortise-linux-x86_64.AppImageFor the .deb, install it with apt:
Terminal window sudo apt install ./Mortise-linux-amd64.debNeither file is signed.
-
Start Mortise. The first window says No apps yet and offers Add app folder.
Mortise is installed. To open your first app, go on to First steps. Where Mortise keeps its settings and its history is in Files and folders.
Install the command line tool
Section titled “Install the command line tool”The command line tool, binary mortise, runs mortise check and mortise push in CI or in a
terminal. It is not in the installers above. Get it one of three ways.
In GitHub Actions
Section titled “In GitHub Actions”The action mortise-dev/setup-mortise downloads the tool for
the runner, checks its SHA-256 against the sums of the release, and puts it on PATH. It needs no
Rust toolchain.
steps: - uses: actions/checkout@v5 - uses: mortise-dev/setup-mortise@v1 - run: mortise check . --format githubIt runs on Linux (x64 and arm64), macOS (Apple silicon) and Windows (x64) runners. Without
version it installs the latest release; with: { version: v0.3.0 } pins one.
From a release
Section titled “From a release”-
Open the latest release.
-
Download the archive for your platform and the sums file
Mortise-vX.Y.Z-SHA256SUMS.txt, into the same folder.Platform File Linux, x86_64 mortise-vX.Y.Z-linux-x86_64.tar.gzLinux, arm64 mortise-vX.Y.Z-linux-arm64.tar.gzmacOS, Apple silicon mortise-vX.Y.Z-macos-arm64.zipWindows, x64 mortise-vX.Y.Z-windows-x64.zipThe Linux binaries are static: they run on any Linux of their architecture.
-
Check the SHA-256 sum as in step 3 above, with the name of the archive.
-
Unpack the archive and put
mortise(mortise.exeon Windows) in a folder on yourPATH.Terminal window unzip mortise-vX.Y.Z-macos-arm64.zip mortisesudo mv mortise /usr/local/bin/The binary is signed with a Developer ID and notarized by Apple. A bare binary cannot hold the ticket, so macOS checks it online the first time it runs.
In PowerShell:
Terminal window Expand-Archive mortise-vX.Y.Z-windows-x64.zip -DestinationPath "$env:LOCALAPPDATA\mortise"Then add that folder to your
PATH. The binary is not signed.Terminal window tar -xzf mortise-vX.Y.Z-linux-x86_64.tar.gz mortisesudo mv mortise /usr/local/bin/The binary is not signed.
-
Run
mortise --version. It prints the version of the release.
With cargo
Section titled “With cargo”On any platform with a Rust toolchain (Rust 1.100 or later):
cargo install --locked mortise-cliTo build it from a clone instead, see Build Mortise from source.