Installation

Work In Progress

Documentation is still a work in progress!

Editor Extensions

Some extensions will manage Expert for you.

Read more.

Package Managers

Homebrew

You can use Homebrew to install the latest version of Expert.

brew install expert

Mason

:MasonInstall expert

Nix

Nixpkgs

Expert can be added to your devShells or used with nix run nixpkgs#expert

Flake

We provide a flake that can be used.

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
expert.url = "github:expert-lsp/expert";
};
outputs = {
self,
nixpkgs,
expert,
}: let
systems = [
"x86_64-linux"
"aarch64-darwin"
];
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system:
f {
inherit system;
pkgs = nixpkgs.legacyPackages.${system};
});
in {
devShells = forAllSystems ({
system,
pkgs,
}: {
default = pkgs.mkShell {
packages = with pkgs; [
elixir_1_18
erlang
expert.packages.${system}.default
];
};
});
};
}

beam-flakes

In Progress

Expert is not yet implemented in beam-flakes.

Not currently supported in beam-flakes.

Archlinux

Install the AUR expert-git package.

yay -s expert-git

or

paru -s expert-git

Version Managers

Mise

Mise can install Expert, supporting all released versions, including on Windows.

Install

mise use expert

List versions

mise ls-remote expert

GitHub Releases

Caution

These commands are oriented for *nix systems. For Windows, PRs are welcome to ensure they work!

You can easily install Expert with the gh CLI and save it somewhere on your machine.

# Linux AMD64
gh release download nightly \
--pattern *linux_amd64 \
--output ~/.local/bin/expert \
--clobber \
--repo expert-lsp/expert
# Apple Silicon
gh release download nightly \
--pattern *darwin_arm64 \
--output ~/.local/bin/expert \
--clobber \
--repo expert-lsp/expert
chmod +x ~/.local/bin/expert

You can also manually download the executable from the releases page.

Source

Caution

These commands are oriented for *nix systems. For Windows, PRs are welcome to ensure they work!

Tip

Expert uses just. You can install it with your systems package manager.

Recipes for building from source are located in our justfile. The following builds a release for your OS, copies it to ~/.local/libexec/expert, and symlinks the executable to ~/.local/bin/expert.

just install

You can install it somewhere other than ~/.local with the --prefix flag.