2019-06-23 05:05:19 +03:00
|
|
|
---
|
|
|
|
title: Installation
|
|
|
|
---
|
|
|
|
|
2019-06-27 03:56:34 +03:00
|
|
|
{% assign releases = site.github.releases | sort:"created_at" | reverse %}
|
|
|
|
{% for r in releases %}
|
|
|
|
{% if r.prerelease %}
|
|
|
|
{% for asset in r.assets %}
|
|
|
|
{% if asset.name contains 'windows' and windows_pre == nil %}
|
|
|
|
{% assign windows_pre = asset.browser_download_url %}
|
|
|
|
{% endif %}
|
|
|
|
{% if asset.name contains 'macos' and macos_pre == nil %}
|
|
|
|
{% assign macos_pre = asset.browser_download_url %}
|
|
|
|
{% endif %}
|
|
|
|
{% if asset.name contains '.deb' and deb_pre == nil %}
|
|
|
|
{% assign deb_pre = asset.browser_download_url %}
|
2019-06-27 01:58:39 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-06-27 03:56:34 +03:00
|
|
|
{% else %}
|
|
|
|
{% for asset in r.assets %}
|
2019-06-27 01:58:39 +03:00
|
|
|
{% if asset.name contains 'windows' and windows_stable == nil %}
|
|
|
|
{% assign windows_stable = asset.browser_download_url %}
|
|
|
|
{% endif %}
|
|
|
|
{% if asset.name contains 'macos' and macos_stable == nil %}
|
|
|
|
{% assign macos_stable = asset.browser_download_url %}
|
|
|
|
{% endif %}
|
|
|
|
{% if asset.name contains '.deb' and deb_stable == nil %}
|
|
|
|
{% assign deb_stable = asset.browser_download_url %}
|
2019-12-02 02:18:08 +03:00
|
|
|
{% assign deb_stable_asset = asset.name %}
|
2019-06-27 01:58:39 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-06-27 03:56:34 +03:00
|
|
|
{% endif %}
|
2019-06-27 01:58:39 +03:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2019-06-24 04:12:26 +03:00
|
|
|
## {% octicon cloud-download height:24 %} Installing a pre-built package on Windows
|
2019-06-23 05:05:19 +03:00
|
|
|
|
2019-06-24 04:12:26 +03:00
|
|
|
Windows 10 or later is required to run WezTerm.
|
2019-06-23 05:05:19 +03:00
|
|
|
|
2019-06-27 01:58:39 +03:00
|
|
|
<a href="{{ windows_stable }}" class="btn">{% octicon cloud-download %} Download for Windows</a>
|
|
|
|
<a href="{{ windows_pre }}" class="btn">{% octicon beaker %} Nightly for Windows</a>
|
|
|
|
1. Download <a href="{{ windows_stable }}">Release</a>
|
2019-06-24 04:12:26 +03:00
|
|
|
2. Extract the zipfile and double-click `wezterm.exe` to run the UI
|
|
|
|
3. Configuration instructions can be [found here](configuration.html)
|
|
|
|
|
|
|
|
## {% octicon cloud-download height:24 %} Installing a pre-built package 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.
|
|
|
|
|
2019-06-27 01:58:39 +03:00
|
|
|
<a href="{{ macos_stable }}" class="btn">{% octicon cloud-download %} Download for macOS</a>
|
|
|
|
<a href="{{ macos_pre }}" class="btn">{% octicon beaker %} Nightly for macOS</a>
|
|
|
|
1. Download <a href="{{ macos_stable }}">Release</a>
|
2019-06-24 04:12:26 +03:00
|
|
|
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](configuration.html)
|
|
|
|
|
|
|
|
## {% octicon cloud-download height:24 %} Installing a pre-built package 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-06-24 04:12:26 +03:00
|
|
|
|
2019-06-27 01:58:39 +03:00
|
|
|
<a href="{{ deb_stable }}" class="btn">{% octicon cloud-download %} Download for Ubuntu</a>
|
|
|
|
<a href="{{ deb_pre }}" class="btn">{% octicon beaker %} Nightly for Ubuntu</a>
|
|
|
|
* <tt>curl -LO <a href="{{ deb_stable }}">{{ deb_stable }}</a></tt>
|
2019-12-02 02:18:08 +03:00
|
|
|
* `sudo apt install -y ./{{ deb_stable_asset }}`
|
|
|
|
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
|
2019-06-24 04:12:26 +03:00
|
|
|
* Configuration instructions can be [found here](configuration.html)
|
|
|
|
|
|
|
|
## {% octicon git-branch height:24 %} Installing from source
|
2019-06-23 05:05:19 +03:00
|
|
|
|
|
|
|
* Install `rustup` to get the `rust` compiler installed on your system.
|
2019-06-24 04:12:26 +03:00
|
|
|
[Install rustup](https://www.rust-lang.org/en-US/install.html)
|
2019-12-02 02:23:08 +03:00
|
|
|
* Rust version 1.39 or later is required
|
2019-06-23 05:05:19 +03:00
|
|
|
* 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)
|
|
|
|
|
|
|
|
```
|
|
|
|
$ curl https://sh.rustup.rs -sSf | sh -s
|
|
|
|
$ git clone --depth=1 --branch=master --recursive https://github.com/wez/wezterm.git
|
|
|
|
$ cd wezterm
|
2019-12-02 02:23:08 +03:00
|
|
|
$ git submodule update --init --recursive
|
2019-06-23 05:05:19 +03:00
|
|
|
$ sudo ./get-deps
|
|
|
|
$ cargo build --release
|
|
|
|
$ cargo run --release -- start
|
|
|
|
```
|
|
|
|
|