1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00
wezterm/docs/installation.markdown
2019-06-23 20:31:20 -07:00

3.2 KiB

title
Installation

{% octicon cloud-download height:24 %} Installing a pre-built package on Windows

Windows 10 or later is required to run WezTerm.

{% for asset in site.github.latest_release.assets %} {% if asset.name contains 'azure' and asset.name contains 'windows' %} {% octicon cloud-download %} Download for Windows

  1. Download {{ asset.name }}
  2. Extract the zipfile and double-click wezterm.exe to run the UI
  3. Configuration instructions can be found here {% endif %} {% endfor %}

{% 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.

{% for asset in site.github.latest_release.assets %} {% if asset.name contains 'azure' and asset.name contains 'macos' %} {% octicon cloud-download %} Download for macOS

  1. Download {{ asset.name }}
  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.
  4. Subsequently, a simple double-click will launch the UI
  5. Configuration instructions can be found here {% endif %} {% endfor %}

{% octicon cloud-download height:24 %} Installing a pre-built package on Ubuntu

The CI system builds a .deb file on Ubuntu 16.04. It may be compatible with other debian style systems.

{% for asset in site.github.latest_release.assets %} {% if asset.name contains '.deb' %}

{% octicon cloud-download %} Download for Ubuntu

  • curl -LO {{ asset.browser_download_url }}
  • sudo dpkg -i {{ asset.name }}
  • The package installs /usr/bin/wezterm
  • Configuration instructions can be found here {% endif %} {% endfor %}

{% octicon beaker height:24 %} Nightly builds

Bleeding edge nightly pre-release builds may be available from the releases page.

{% octicon git-branch height:24 %} Installing from source

  • Install rustup to get the rust compiler installed on your system. Install rustup
  • Rust version 1.35 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 script will attempt to install them for you. If it doesn't know about your system, please contribute instructions!

$ 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
$ sudo ./get-deps
$ cargo build --release
$ cargo run --release -- start