1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-19 11:21:39 +03:00
wezterm/docs/installation.markdown

135 lines
5.1 KiB
Markdown
Raw Normal View History

## Installing on Windows
Windows 10 or later is required to run WezTerm.
<a href="{{ windows_stable }}" class="btn">Download for Windows</a>
<a href="https://github.com/wez/wezterm/releases/download/nightly/WezTerm-windows-nightly.zip" class="btn">Nightly for Windows</a>
1. Download <a href="{{ windows_stable }}">Release</a>
2. Extract the zipfile and double-click `wezterm.exe` to run the UI
3. Configuration instructions can be [found here](config/index.html)
## Installing on macOS
The CI system builds the package on macOS Mojave (10.14). It may run on earlier
versions of macOS, but that has not been tested.
<a href="{{ macos_stable }}" class="btn">Download for macOS</a>
<a href="https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip" class="btn">Nightly for macOS</a>
1. Download <a href="{{ macos_stable }}">Release</a>
2. Extract the zipfile and drag the `WezTerm.app` bundle to your `Applications` folder
3. First time around, you may need to right click and select `Open` to allow launching
the application that your just downloaded from the internet.
3. Subsequently, a simple double-click will launch the UI
4. Configuration instructions can be [found here](config/index.html)
## Installing on Ubuntu
2019-12-02 02:18:08 +03:00
The CI system builds a `.deb` file on Ubuntu 16.04. It is compatible with other
debian style systems, including Debian 9 (Stretch) and later versions.
2019-12-30 08:24:08 +03:00
<a href="{{ ubuntu_stable }}" class="btn">Download for Ubuntu</a>
<a href="https://github.com/wez/wezterm/releases/download/nightly/wezterm-nightly.deb" class="btn">Nightly for Ubuntu</a>
```bash
curl -LO {{ ubuntu_stable }}
sudo apt install -y ./{{ ubuntu_stable_asset }}
```
2019-12-02 02:18:08 +03:00
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
* Configuration instructions can be [found here](config/index.html)
2019-12-30 06:32:26 +03:00
2020-01-08 09:28:43 +03:00
## Installing on Fedora
2019-12-30 06:32:26 +03:00
The CI system builds an `.rpm` file on Fedora 31.
<a href="{{ fedora_stable }}" class="btn">Download for Fedora</a>
2020-02-13 06:20:36 +03:00
<a href="https://github.com/wez/wezterm/releases/download/nightly/wezterm-nightly-fedora31.rpm" class="btn">Nightly for Fedora</a>
```bash
2020-01-08 09:28:43 +03:00
sudo dnf install -y {{ fedora_stable }}
```
2019-12-30 06:32:26 +03:00
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
* Configuration instructions can be [found here](config/index.html)
2020-02-13 06:20:36 +03:00
## Installing on CentOS
The CI system builds an `.rpm` file on CentOS 7.
<!-- a href="{{ centos_stable }}" class="btn">Download for CentOS</a -->
<a href="https://github.com/wez/wezterm/releases/download/nightly/wezterm-nightly-centos7.rpm" class="btn">Nightly for CentOS</a>
```bash
sudo dnf install -y https://github.com/wez/wezterm/releases/download/nightly/wezterm-nightly-centos7.rpm
2020-02-13 06:20:36 +03:00
```
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
* Configuration instructions can be [found here](config/index.html)
2020-01-26 23:46:15 +03:00
## Installing on Linux via AppImage
If you have some other Linux system, or otherwise prefer AppImage over your
system package format, you can download a build by following these steps.
<a href="{{ appimage_stable }}" class="btn">AppImage</a>
2020-01-26 23:46:15 +03:00
<a href="https://github.com/wez/wezterm/releases/download/nightly/WezTerm-nightly.AppImage" class="btn">Nightly AppImage</a>
```bash
curl -LO {{ appimage_stable }}
chmod +x {{ appimage_stable_asset }}
2020-01-26 23:46:15 +03:00
```
You may then execute the appimage directly to launch wezterm.
* Configuration instructions can be [found here](config/index.html)
## 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_bin_stable }}" class="btn">Download raw Linux binaries</a>
<a href="https://github.com/wez/wezterm/releases/download/nightly/wezterm-nightly.tar.xz"
class="btn">Nightly raw Linux binaries</a>
## Installing from source
2020-01-26 23:46:15 +03:00
If your system isn't covered by the list above, then you can build it for yourself.
WezTerm should run on any modern unix as well as Windows 10 and macOS.
* Install `rustup` to get the `rust` compiler installed on your system.
[Install rustup](https://www.rust-lang.org/en-US/install.html)
* Rust version 1.39 or later is required
* Build in release mode: `cargo build --release`
* Run it via either `cargo run --release` or `target/release/wezterm`
You will need a collection of support libraries; the [`get-deps`](https://github.com/wez/wezterm/blob/master/get-deps) script will
attempt to install them for you. If it doesn't know about your system,
[please contribute instructions!](https://github.com/wez/wezterm/blob/master/CONTRIBUTING.md)
If you don't plan to submit a pull request to the wezterm repo, you can
download a smaller source tarball using these steps:
```bash
curl https://sh.rustup.rs -sSf | sh -s
curl -LO {{ source_stable }}
tar -xzf {{ source_stable_asset }}
cd {{ source_stable_dir }}
sudo ./get-deps
cargo build --release
cargo run --release -- start
```
Alternatively, use the full git repo:
```bash
curl https://sh.rustup.rs -sSf | sh -s
git clone --depth=1 --branch=master --recursive https://github.com/wez/wezterm.git
cd wezterm
git submodule update --init --recursive
sudo ./get-deps
cargo build --release
cargo run --release -- start
```