Skip to content

Installation

ilyamiro edited this page Nov 6, 2026 · 3 revisions

Ski runs on x86_64 Linux and, when compiled from source, on other architectures.

Method Needs Updates
Prebuilt package Graphics libraries (the .deb and .rpm install them) Install the package of the next release
Docker or Podman Docker or Podman Pull the image again
Cargo Rust 1.85 or newer, graphics libraries Run cargo install again
Nix Nix git pull and rebuild
NixOS module NixOS git pull and nixos-rebuild switch
home-manager module home-manager, on NixOS or any distribution git pull and home-manager switch

Prebuilt packages

Every release has three x86_64 builds. They need no Rust and no Nix.

# Debian, Ubuntu
sudo apt install ./ski_*_amd64.deb

# Fedora, openSUSE
sudo dnf install ./ski-*.x86_64.rpm

# Any other distribution, Arch included: unpack into /usr
sudo tar -xzf ski-*-x86_64-linux.tar.gz -C /

Each package installs:

File Purpose
/usr/bin/ski The program
ski.desktop The entry in the application menu
ski.svg The icon
ski.portal and its D-Bus service Lets Ski be the system file dialog. See Desktop Integration.
org.freedesktop.FileManager1.service Lets browsers open Ski for "Show in folder"

The release also has a SHA256SUMS file with the checksum of each package. Check a download with:

sha256sum -c SHA256SUMS --ignore-missing

The .tar.gz does not install the graphics libraries. Install them as shown under Cargo.

Docker or Podman

curl -fsSL https://raw.githubusercontent.com/ilyamiro/Ski/master/docker/ski-docker -o ski-docker
chmod +x ski-docker
./ski-docker [folder]

The ski-docker script detects a Wayland or X11 session and mounts the home folder into the container, so Ski shows the real files. Set SKI_ENGINE=podman to use Podman instead of Docker.

Inside the container "Open with…" cannot start applications of the host. Use a native install for daily use.

To build the image from a checkout:

docker build -t ski .
SKI_IMAGE=ski ./docker/ski-docker

Cargo

Needs Rust 1.85 or newer.

cargo install --git https://github.com/ilyamiro/Ski

This installs only the program, without the menu entry. To add the menu entry and icon, see Application menu.

Ski loads its graphics libraries when it starts. If it does not start, install them:

# Debian, Ubuntu
sudo apt install libwayland-client0 libxkbcommon0 libxkbcommon-x11-0 libx11-6 libxcursor1 libxi6 libxrandr2 libgl1 libegl1 xdg-utils

# Fedora
sudo dnf install libwayland-client libxkbcommon libxkbcommon-x11 libX11 libXcursor libXi libXrandr mesa-libGL mesa-libEGL xdg-utils

# Arch
sudo pacman -S wayland libxkbcommon libxkbcommon-x11 libx11 libxcursor libxi libxrandr libglvnd xdg-utils

Nix

Run from a checkout:

git clone https://github.com/ilyamiro/Ski && cd Ski
nix-shell --run 'cargo run --release'

Install it on NixOS by importing the package in configuration.nix. The package includes the menu entry and the icon.

environment.systemPackages = [ (pkgs.callPackage /path/to/Ski { }) ];

By default this installs the binary of the latest release, patched for Nix. It takes a few seconds. To compile the checkout instead, pass fromSource = true:

environment.systemPackages = [ (pkgs.callPackage /path/to/Ski { fromSource = true; }) ];

Compiling takes several minutes the first time and after each change to the dependencies. On architectures other than x86_64 the package always compiles.

To update, run git pull in the checkout and rebuild.

NixOS module

nix/module.nix installs Ski, makes it the default file manager, and makes it the system's open and save dialog.

{
  imports = [ /path/to/Ski/nix/module.nix ];
  programs.ski.enable = true;
}
Option Default Meaning
programs.ski.enable false Install Ski.
programs.ski.defaultFileManager true Open folders with Ski (inode/directory) and answer org.freedesktop.FileManager1 ("Show in folder").
programs.ski.filePicker true Use Ski as the xdg-desktop-portal file dialog.
programs.ski.servers true Turn on GVfs (services.gvfs.enable), which Servers uses.
programs.ski.package the release binary The package to install. Set it to pkgs.callPackage /path/to/Ski { fromSource = true; } to compile.

Log out and in after nixos-rebuild switch. Desktop Integration lists what the module changes and what browsers need.

home-manager module

nix/home-manager.nix installs Ski for one user and keeps its settings and themes in the home-manager configuration.

{
  imports = [ /path/to/Ski/nix/home-manager.nix ];

  programs.ski = {
    enable = true;
    settings = {
      theme = "system";
      icon_style = "System";
      scroll_speed = 1.5;
      view_mode = "Grid";
      show_hidden = true;
      terminal = "kitty --directory {}";
      plugins = { git = true; duplicates = false; };
      keybinds = { new_tab = [ "Ctrl+T" ]; };
    };
    themes.paper = {
      name = "Paper"; light = true;
      base = "#fbf8f1"; mantle = "#f2ede3"; crust = "#e9e3d6";
      text = "#2b2620"; subtext0 = "#5a5248"; subtext1 = "#7d7468";
      surface0 = "#f5f1e8"; surface1 = "#e7e0d2"; surface2 = "#dbd3c3";
      accent = "#b5651d";
    };
  };
}
Option Default Meaning
programs.ski.enable false Install Ski for this user.
programs.ski.settings { } Any keys of settings.json, as listed in Settings. Written to ~/.config/ski/managed.json.
programs.ski.themes { } Custom themes by id, each in the theme file format. themes.paper becomes ~/.local/state/ski/themes/paper.json and is selected with settings.theme = "custom:paper".
programs.ski.defaultFileManager false Open folders with Ski (inode/directory). Turns on home-manager's xdg.mimeApps, which then owns ~/.config/mimeapps.list.
programs.ski.filePicker false Use Ski as the xdg-desktop-portal file dialog through home-manager's xdg.portal.
programs.ski.package the release binary The package to install. Set it to pkgs.callPackage /path/to/Ski { fromSource = true; } to compile.

How managed settings work

Ski keeps writing its own ~/.config/ski/settings.json, so home-manager does not take that file over. It writes managed.json next to it instead, and Ski lays managed.json over settings.json every time it reads its settings:

  • A key set in programs.ski.settings always wins. Changing that setting in the Settings window lasts only until Ski reads its settings again, which is at once, so treat those settings as locked.
  • A key left out stays yours to change in the Settings window.
  • Maps merge key by key: plugins = { git = false; } turns off Git and leaves the other plugins as they are; keybinds works the same way.
  • After home-manager switch, open Ski windows take up the new settings at once.

Leave out what you change from the window all the time, such as view_mode, sort_by and show_hidden, unless you want them fixed.

On NixOS, "Show in folder" from browsers (org.freedesktop.FileManager1) needs Ski's D-Bus service on the session bus. The NixOS module provides it. Both modules can be used together: the NixOS one for the system integration, the home-manager one for the settings.

Application menu

The packages and the Nix package add the menu entry. After a Cargo install, add it by hand from a checkout:

install -Dm644 assets/ski.desktop ~/.local/share/applications/ski.desktop
install -Dm644 assets/logo.svg ~/.local/share/icons/hicolor/scalable/apps/ski.svg

To open folders with Ski from other programs:

xdg-mime default ski.desktop inode/directory

Optional tools

Ski works without these. Each one enables a feature.

Tool Enables
ffmpeg Thumbnails of videos, cover art of music files, and pictures in HEIC, AVIF, JPEG XL, PSD and EXR
xz, bzip2, zstd with tar Creating and reading .tar.xz, .tar.bz2 and .tar.zst. See Archives.
7z .7z archives, and extracting .rar, .iso, .deb and .rpm
GVfs with its FUSE part, or sshfs, or rclone Connecting to servers. See Servers.
udisksctl (udisks2) Mounting, unmounting and ejecting drives
pkexec (polkit) Administrator Mode
git The Git plugin
A keyring (GNOME Keyring, KWallet, KeePassXC) Saving server passwords

On Debian or Ubuntu the archive tools are sudo apt install xz-utils bzip2 zstd p7zip-full.

Clone this wiki locally