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.
-
Run the script
curl -fsSL https:// github.com/ lejubila/ xted/ releases/ latest/ download/ install.sh | sh It downloads the latest release, checks it against
SHA256SUMSand installs the static binary, thextlink, the Italian catalog and the manual pages. As a normal user in~/.local, nosudo; as root in/usr/local. It works withcurlorwgetand anysh. Run it again to update. -
Check your PATH
If
~/.local/binis not inPATH, the script prints the line to add. Then open a new terminal. -
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=1makes xted the default application for those files.XTED_DESKTOP=0installs without the integration.- The terminal is the one of
terminal =in theconfig, of$TERMINAL, ofxdg-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.
-
Open PowerShell and run
irm https:// github.com/ lejubila/ xted/ releases/ latest/ download/ install.ps1 | iex The script checks the download against
SHA256SUMSand installsxted.exe,xt.exeand the Italian catalog in%LOCALAPPDATA%\Programs\xted, without administrator rights, adding the folder to your userPATH. Run it again to update. -
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.
| File | System | Architecture | Who it is for | Size |
|---|---|---|---|---|
xted-0.20.0-linux-x86_64.tar.gzSHA-256 693078cd582f6726f3a1f4398d37179d192b3a3b5113dfb96252557df8d8c2aa | Linux | x86_64 | 64-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 dec7ea1443044013d77d710446b840740abada65f71b49b9f24b458f7ee48d27 | Linux | x86_64 | 64-bit PCs and servers. The binary alone. | 782 KB |
xted-0.20.0-linux-aarch64.tar.gzSHA-256 8161f2aebd3f881279d0d2bcb245f7fe71fa406e69f1ae6ad89defd2b9373996 | Linux | aarch64 | 64-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 ec6d0d52e21b44bed490e84f44c56546388dd1bb9e8a90fb40683ab6c9a8678f | Linux | aarch64 | 64-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 b23995226c3979eac8a0456adfb69687f207c6332f60c3b71c99b53a0165cf1a | Linux | armv7 | Raspberry 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 15809df4a10c8de3c3832593da7c8cdc18366a0e07b21a9168e50e9e59ac881c | Linux | armv7 | Raspberry Pi 2, 3 and 4 with a 32-bit system. The binary alone. | 742 KB |
xted-0.20.0-linux-armv6.tar.gzSHA-256 e1983d6c6fb80118f4793449bd8caa504c3e077c296e8e9518b374204901f406 | Linux | armv6 | Raspberry Pi 1 and Zero. Archive with xted, xt, the Italian catalog and the manual pages. | 491 KB |
xted-0.20.0-linux-armv6SHA-256 120e95ca8f7da98f3b0928de0a0467439c4136c269ddc4723806c7abd3c16d40 | Linux | armv6 | Raspberry Pi 1 and Zero. The binary alone. | 739 KB |
xted-0.20.0-windows-x86_64.zipSHA-256 e80faa6e34ce3596aacfc85b9196990a648dd6d7b593b941101285c7d588154a | Windows 10/11 | x86_64 | Windows PCs with an Intel or AMD processor. Zip archive to extract wherever you like. | 592 KB |
xted-0.20.0-windows-arm64.zipSHA-256 251fc8a76a4013693d047ccdb151c60571ca5e47133c4222c987af0ecce074e2 | Windows 10/11 | arm64 | Windows on ARM. Zip archive to extract wherever you like. | 576 KB |
install.shSHA-256 373ab73db6900ae1b8be44998e38f54f7ad6b1ebe317dca09f3edf324a72eef4 | Linux | — | Quick install script. | 9.0 KB |
install.ps1SHA-256 617dd035d759efee6938375d53ef80cb4d2133ea8d30775c50f4650198805d34 | Windows | — | Install script for PowerShell. | 13 KB |
| SHA256SUMS | All | — | 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