Skip to content
xted GitHub
ITEN

Install

xted is a single binary. The latest release is 0.20.0.

Linux, quick install

For x86_64, aarch64 and the Raspberry Pi boards (armv7 and armv6). Nothing is compiled.

  1. Run the script

    curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sh

    It downloads the latest release, checks it against SHA256SUMS and installs the static binary, the xt link, the Italian catalog and the manual pages. As a normal user in ~/.local, no sudo; as root in /usr/local. It works with curl or wget and any sh. Run it again to update.

  2. Check your PATH

    If ~/.local/bin is not in PATH, the script prints the line to add. Then open a new terminal.

  3. Start it

    xted

The script picks the binary from uname -m: aarch64 for 64-bit systems (also the 32-bit Raspberry Pi OS on a Pi 4 or 5), armv7 for Pi 2, 3 and 4 with a 32-bit system, armv6 for Pi 1 and Zero.

Variants

In /usr/local, for every user:

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sudo sh

In another folder:

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | PREFIX=/opt/xted sh

A given version:

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | XTED_VERSION=0.20.0 sh

To uninstall (with the same PREFIX; the settings in ~/.config/xted are left):

curl -fsSL https://github.com/lejubila/xted/releases/latest/download/install.sh | sh -s -- --uninstall

Read the script first

curl -fsSLO https://github.com/lejubila/xted/releases/latest/download/install.sh
less install.sh
sh install.sh

Desktop integration

On GNOME, KDE, XFCE, Cinnamon, MATE and others the script adds the icon and the xted entry in the application menu, xted in "Open with" for text files, and "Open with xted" in Dolphin and Nemo when present.

  • XTED_DEFAULT=1 makes xted the default application for those files.
  • XTED_DESKTOP=0 installs without the integration.
  • The terminal is the one of terminal = in the config, of $TERMINAL, of xdg-terminal-exec, of your desktop (Ptyxis, Console, GNOME Terminal, Konsole, xfce4-terminal, mate-terminal), x-terminal-emulator, and last kitty, Alacritty, foot, WezTerm, Tilix or xterm.
  • With Ptyxis, kitty, Alacritty, foot and WezTerm the window carries the xted icon in the dock. After an update GNOME may read the new entry only at the next session.

If it finds an older install in ~/.local that would take precedence, the script says so and how to remove it.

Windows

Windows 10 (1809 or later) and Windows 11, ARM included.

  1. Open PowerShell and run

    irm https://github.com/lejubila/xted/releases/latest/download/install.ps1 | iex

    The script checks the download against SHA256SUMS and installs xted.exe, xt.exe and the Italian catalog in %LOCALAPPDATA%\Programs\xted, without administrator rights, adding the folder to your user PATH. Run it again to update.

  2. Open a new terminal and start it

    xted

Options and uninstalling

To uninstall:

$env:XTED_UNINSTALL = '1'; irm https://github.com/lejubila/xted/releases/latest/download/install.ps1 | iex
$env:XTED_DIR
The folder to install in.
$env:XTED_VERSION
A given version, such as '0.20.0'.
$env:XTED_DESKTOP = '0'
Without the Start menu, "Open with" and the entries in the menus of files and folders.
$env:XTED_CLASSIC = '1'
What you open from the desktop goes to the classic console, which shows the xted icon on the taskbar, giving up the tabs and looks of Windows Terminal. The choice survives updates; '0' goes back to the default terminal.

What differs on Windows

  • Search has no regular expressions.
  • Run (Alt+R) and filters go through cmd.exe (or %COMSPEC%).
  • The clipboard is the Windows one.
  • Git markers need Git for Windows in PATH.
  • Configuration is in %APPDATA%\xted, sessions in %LOCALAPPDATA%\xted.

Manual downloads

The same files the scripts use, from the releases page. On Windows extract the zip wherever you like, keeping lang\ next to xted.exe.

Files of release 0.20.0
FileSystemArchitectureWho it is forSize
xted-0.20.0-linux-x86_64.tar.gzSHA-256 693078cd582f6726f3a1f4398d37179d192b3a3b5113dfb96252557df8d8c2aaLinuxx86_6464-bit PCs and servers. Archive with xted, xt, the Italian catalog and the manual pages.499 KB
xted-0.20.0-linux-x86_64SHA-256 dec7ea1443044013d77d710446b840740abada65f71b49b9f24b458f7ee48d27Linuxx86_6464-bit PCs and servers. The binary alone.782 KB
xted-0.20.0-linux-aarch64.tar.gzSHA-256 8161f2aebd3f881279d0d2bcb245f7fe71fa406e69f1ae6ad89defd2b9373996Linuxaarch6464-bit ARM: Raspberry Pi 4 and 5, also with the 32-bit Raspberry Pi OS (its kernel is 64-bit). Archive with xted, xt, the Italian catalog and the manual pages.517 KB
xted-0.20.0-linux-aarch64SHA-256 ec6d0d52e21b44bed490e84f44c56546388dd1bb9e8a90fb40683ab6c9a8678fLinuxaarch6464-bit ARM: Raspberry Pi 4 and 5, also with the 32-bit Raspberry Pi OS (its kernel is 64-bit). The binary alone.789 KB
xted-0.20.0-linux-armv7.tar.gzSHA-256 b23995226c3979eac8a0456adfb69687f207c6332f60c3b71c99b53a0165cf1aLinuxarmv7Raspberry Pi 2, 3 and 4 with a 32-bit system. Archive with xted, xt, the Italian catalog and the manual pages.489 KB
xted-0.20.0-linux-armv7SHA-256 15809df4a10c8de3c3832593da7c8cdc18366a0e07b21a9168e50e9e59ac881cLinuxarmv7Raspberry Pi 2, 3 and 4 with a 32-bit system. The binary alone.742 KB
xted-0.20.0-linux-armv6.tar.gzSHA-256 e1983d6c6fb80118f4793449bd8caa504c3e077c296e8e9518b374204901f406Linuxarmv6Raspberry Pi 1 and Zero. Archive with xted, xt, the Italian catalog and the manual pages.491 KB
xted-0.20.0-linux-armv6SHA-256 120e95ca8f7da98f3b0928de0a0467439c4136c269ddc4723806c7abd3c16d40Linuxarmv6Raspberry Pi 1 and Zero. The binary alone.739 KB
xted-0.20.0-windows-x86_64.zipSHA-256 e80faa6e34ce3596aacfc85b9196990a648dd6d7b593b941101285c7d588154aWindows 10/11x86_64Windows PCs with an Intel or AMD processor. Zip archive to extract wherever you like.592 KB
xted-0.20.0-windows-arm64.zipSHA-256 251fc8a76a4013693d047ccdb151c60571ca5e47133c4222c987af0ecce074e2Windows 10/11arm64Windows on ARM. Zip archive to extract wherever you like.576 KB
install.shSHA-256 373ab73db6900ae1b8be44998e38f54f7ad6b1ebe317dca09f3edf324a72eef4Linux—Quick install script.9.0 KB
install.ps1SHA-256 617dd035d759efee6938375d53ef80cb4d2133ea8d30775c50f4650198805d34Windows—Install script for PowerShell.13 KB
SHA256SUMSAll—SHA-256 checksums of the other files.1.1 KB

Build from source

You need a C compiler (gcc or clang) and make. The default static binary also needs musl (apt install musl-tools, dnf install musl-gcc, pacman -S musl); without it, make builds a dynamic binary and says so.

git clone https://github.com/lejubila/xted.git
cd xted
make
make install PREFIX=$HOME/.local

make install without PREFIX installs in /usr/local xted, the xt link, the catalogs and the manual pages; make uninstall removes them.

make DYNAMIC=1               # dynamic, with the system compiler
make STATIC=1 CC=clang       # static with another compiler
make ARCH=aarch64            # ARM with zig; armv7 and armv6 too
make WIN=1                   # Windows, with MinGW-w64 (llvm-mingw)
make WIN=1 ARCH=arm64        # Windows on ARM64
make test                    # automated tests
make smoke                   # trials in a real pseudo-terminal (python3)
make SAN=1                   # AddressSanitizer and UBSan

First run

Start xted (or xt). When there is nothing to reopen you get the start screen.

F1
Help, with every command and shortcut.
Alt+X
The command palette: type what you want to do.
F10
The menu bar.
Ctrl+Q
Quit; if files are not saved it asks first.

Configuration is optional and lives in ~/.config/xted/config (on Windows %APPDATA%\xted\config). How to configure