2022-08-09 16:50:46 +03:00
## Installing on Linux via Flathub
WezTerm is available in flatpak format and published on
[Flathub ](https://flathub.org/apps/details/org.wezfurlong.wezterm ), which is
aggregated into the GNOME Software application and other similar
storefront/software catalog applications.
< a href = 'https://flathub.org/apps/details/org.wezfurlong.wezterm' > < img width = '240' alt = 'Download on Flathub' src = 'https://flathub.org/assets/badges/flathub-badge-en.png' / > < / a >
To install using the command line:
First, [setup flatpak on your system ](https://flatpak.org/setup/ ), then:
```bash
flatpak install flathub org.wezfurlong.wezterm
```
and then run:
```bash
flatpak run org.wezfurlong.wezterm
```
You may wish to define an alias for convenience:
```bash
2022-08-11 22:03:16 +03:00
alias wezterm='flatpak run org.wezfurlong.wezterm'
2022-08-09 16:50:46 +03:00
```
Note: flatpaks run in a sandbox so some functionality may behave a little
differently when compared to installing the native package format for your
system. In particular, starting wezterm using `wezterm cli` subcommands will
block on the first run since you logged in if you haven't already launched the
gui.
Only stable releases are allowed to be published to Flathub, so if
you want/need to try a nightly download you will need to use one of
the other options below.
2020-05-30 20:30:32 +03:00
## Installing on Linux using AppImage
WezTerm is available in [AppImage ](https://appimage.org/ ) format; a
self-contained single file that doesn't require installation or
2020-06-08 00:45:45 +03:00
any special privileges to run, and that is compatible with a wide
range of Linux distributions.
2020-05-30 20:30:32 +03:00
Download and make the file executable and you're ready to run!
2021-12-05 04:34:10 +03:00
< a href = "{{ ubuntu18_AppImage_stable }}" class = "btn" > AppImage< / a >
2021-09-23 07:40:07 +03:00
< a href = "{{ ubuntu18_AppImage_nightly }}" class = "btn" > Nightly AppImage< / a >
2020-05-30 20:30:32 +03:00
```bash
2021-12-05 04:36:48 +03:00
curl -LO {{ ubuntu18_AppImage_stable }}
chmod +x {{ ubuntu18_AppImage_stable_asset }}
2020-05-30 20:30:32 +03:00
```
You may then execute the appimage directly to launch wezterm, with no
specific installation steps required:
```bash
2021-12-05 04:36:48 +03:00
./{{ ubuntu18_AppImage_stable_asset }}
2020-05-30 20:30:32 +03:00
```
That said, you may wish to make it a bit more convenient:
```bash
mkdir ~/bin
2021-12-05 04:36:48 +03:00
mv ./{{ ubuntu18_AppImage_stable_asset }} ~/bin/wezterm
2020-05-30 20:30:32 +03:00
~/bin/wezterm
```
* Configuration instructions can be [found here ](../config/files.html )
## Installing on Ubuntu and Debian-based Systems
The CI system builds `.deb` files for a variety of Ubuntu and Debian distributions.
These are often compatible with other Debian style systems; if you don't find one
that exactly matches your system you can try installing one from an older version
of your distribution, or use one of the Debian packages linked below. Failing that,
you can try the AppImage download which should work on most Linux systems.
|Distro | Stable | Nightly |
|------------|------------------|---------------------|
|Ubuntu18 |[{{ ubuntu18_deb_stable_asset }}]({{ ubuntu18_deb_stable }}) |[{{ ubuntu18_deb_nightly_asset }}]({{ ubuntu18_deb_nightly }})|
|Ubuntu20 |[{{ ubuntu20_deb_stable_asset }}]({{ ubuntu20_deb_stable }}) |[{{ ubuntu20_deb_nightly_asset }}]({{ ubuntu20_deb_nightly }})|
2022-06-27 20:54:09 +03:00
|Ubuntu22 |[{{ ubuntu22_deb_stable_asset }}]({{ ubuntu22_deb_stable }}) |[{{ ubuntu22_deb_nightly_asset }}]({{ ubuntu22_deb_nightly }})|
2020-05-30 20:30:32 +03:00
|Debian10 |[{{ debian10_deb_stable_asset }}]({{ debian10_deb_stable }}) |[{{ debian10_deb_nightly_asset }}]({{ debian10_deb_nightly }})|
2021-12-04 18:32:21 +03:00
|Debian11 |[{{ debian11_deb_stable_asset }}]({{ debian11_deb_stable }}) |[{{ debian11_deb_nightly_asset }}]({{ debian11_deb_nightly }})|
2020-05-30 20:30:32 +03:00
To download and install from the CLI, you can use something like this, which
2022-06-27 20:54:09 +03:00
shows how to install the Ubuntu 20 package:
2020-05-30 20:30:32 +03:00
```bash
2021-12-05 04:37:44 +03:00
curl -LO {{ ubuntu20_deb_stable }}
sudo apt install -y ./{{ ubuntu20_deb_stable_asset }}
2020-05-30 20:30:32 +03:00
```
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/org.wezfurlong.wezterm.desktop`
* Configuration instructions can be [found here ](../config/files.html )
## Installing on Fedora and rpm-based Systems
2022-04-26 09:58:34 +03:00
The CI system builds `.rpm` files on CentOS, Fedora and openSUSE systems.
2020-05-30 20:30:32 +03:00
These are likely compatible with other rpm-based distributions.
Alternatively, you can try the AppImage download with should work
on most Linux systems.
|Distro | Stable | Nightly |
|------------|------------------|---------------------|
2022-06-25 01:11:42 +03:00
|CentOS7 |[{{ centos7_rpm_stable_asset }}]({{ centos7_rpm_stable }}) |[{{ centos7_rpm_nightly_asset }}]({{ centos7_rpm_nightly }})|
2022-02-01 23:12:22 +03:00
|CentOS8 |[{{ centos8_rpm_stable_asset }}]({{ centos8_rpm_stable }}) |[{{ centos8_rpm_nightly_asset }}]({{ centos8_rpm_nightly }})|
2022-04-20 17:57:04 +03:00
|CentOS9 |[{{ centos9_rpm_stable_asset }}]({{ centos9_rpm_stable }})|[{{ centos9_rpm_nightly_asset }}]({{ centos9_rpm_nightly }})|
2021-02-03 21:03:04 +03:00
|Fedora33 |[{{ fedora33_rpm_stable_asset }}]({{ fedora33_rpm_stable }}) |[{{ fedora33_rpm_nightly_asset }}]({{ fedora33_rpm_nightly }})|
2021-05-03 03:46:32 +03:00
|Fedora34 |[{{ fedora34_rpm_stable_asset }}]({{ fedora34_rpm_stable }}) |[{{ fedora34_rpm_nightly_asset }}]({{ fedora34_rpm_nightly }})|
2021-12-04 18:32:21 +03:00
|Fedora35 |[{{ fedora35_rpm_stable_asset }}]({{ fedora35_rpm_stable }}) |[{{ fedora35_rpm_nightly_asset }}]({{ fedora35_rpm_nightly }})|
2022-06-25 01:11:42 +03:00
|Fedora36 |[{{ fedora36_rpm_stable_asset }}]({{ fedora36_rpm_stable }})|[{{ fedora36_rpm_nightly_asset }}]({{ fedora36_rpm_nightly }})|
2022-08-11 18:27:11 +03:00
|openSUSE Leap |[{{ opensuse_leap_rpm_stable_asset }}]({{ opensuse_leap_rpm_stable }})|[{{ opensuse_leap_rpm_nightly_asset }}]({{ opensuse_leap_rpm_nightly }})|
|openSUSE Tumbleweed |[{{ opensuse_tumbleweed_rpm_stable_asset }}]({{ opensuse_tumbleweed_rpm_stable }})|[{{ opensuse_tumbleweed_rpm_nightly_asset }}]({{ opensuse_tumbleweed_rpm_nightly }})|
2020-05-30 20:30:32 +03:00
2021-05-02 19:32:38 +03:00
To download and install from the CLI you can use something like this, which
2021-11-16 04:33:38 +03:00
shows how to install the Fedora 35 package:
2020-05-30 20:30:32 +03:00
```bash
2021-11-16 04:33:38 +03:00
sudo dnf install -y {{ fedora35_rpm_stable }}
2020-05-30 20:30:32 +03:00
```
2022-05-09 19:25:09 +03:00
WezTerm is also available in the official Factory repo in openSUSE Tumbleweed. To install from Factory instead
from the rpm provided by WezTerm's Github repository, you can use Yast. If you prefer the CLI, you can install
it as root user with
```bash
zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
zypper refresh
zypper install wezterm
```
2020-05-30 20:30:32 +03:00
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/org.wezfurlong.wezterm.desktop`
* Configuration instructions can be [found here ](../config/files.html )
2020-06-08 00:45:45 +03:00
## Arch Linux
2021-04-05 03:33:11 +03:00
WezTerm is available in the [Community repository ](https://archlinux.org/packages/community/x86_64/wezterm/ ).
The version available in the community repository may lag behind the latest wezterm release, so you may
wish to use one of these AUR options:
2020-06-08 00:45:45 +03:00
2020-06-08 01:18:13 +03:00
|What |Where|
2020-06-08 00:52:40 +03:00
|---------------------|-|
2020-06-08 00:45:45 +03:00
|Nightly Binaries |< https: / / aur . archlinux . org / packages / wezterm-nightly-bin / > |
|Build from source |< https: / / aur . archlinux . org / packages / wezterm-git / > |
2022-04-20 09:35:21 +03:00
## Alpine Linux
APKs are built out from the `main` branch.
|Version | Stable | Nightly |
|--------|---------------|---------|
2022-08-11 18:27:11 +03:00
| 3.12 |[{{ alpine3_12_apk_stable_asset }}]({{ alpine3_12_apk_stable }})|[{{ alpine3_12_apk_nightly_asset }}]({{ alpine3_12_apk_nightly }})|
| 3.13 |[{{ alpine3_13_apk_stable_asset }}]({{ alpine3_13_apk_stable }})|[{{ alpine3_13_apk_nightly_asset }}]({{ alpine3_13_apk_nightly }})|
| 3.14 |[{{ alpine3_14_apk_stable_asset }}]({{ alpine3_14_apk_stable }})|[{{ alpine3_14_apk_nightly_asset }}]({{ alpine3_14_apk_nightly }})|
| 3.15 |[{{ alpine3_15_apk_stable_asset }}]({{ alpine3_15_apk_stable }})|[{{ alpine3_15_apk_nightly_asset }}]({{ alpine3_15_apk_nightly }})|
2022-04-20 09:35:21 +03:00
2020-07-18 20:16:30 +03:00
## Linuxbrew Tap
2020-07-18 20:16:51 +03:00
If you are a [Linuxbrew ](https://docs.brew.sh/Homebrew-on-Linux ) user, you can install
2020-07-18 20:16:30 +03:00
wezterm from our tap:
```bash
$ brew tap wez/wezterm-linuxbrew
$ brew install wezterm
```
If you'd like to use a nightly build you can perform a head install:
```bash
$ brew install --HEAD wezterm
```
2020-10-31 08:32:59 +03:00
to upgrade to a newer nightly, it is simplest to remove then
install:
```bash
$ brew rm wezterm
$ brew install --HEAD wezterm
```
2020-05-30 20:30:32 +03:00
## Raw Linux Binary
Another option for linux is a raw binary archive. These are the same binaries that
are built for Ubuntu but provided in a tarball.
< a href = "{{ linux_raw_bin_stable }}" class = "btn" > Download raw Linux binaries< / a >
< a href = "{{ linux_raw_bin_nightly }}" class = "btn" > Nightly raw Linux binaries< / a >