Installation
Work In Progress
Documentation is still a work in progress!
Editor Extensions
Some extensions will manage Expert for you.
Package Managers
Homebrew
In Progress
Expert is not yet published to Homebrew.
Not currently available in Homebrew. It will be added once we reach v0.1.
Mason
:MasonInstall expert
Nix
Nixpkgs
In Progress
Expert is not yet published to Nixpkgs.
Not currently available in Nixpkgs. It will be added once we reach v0.1.
Flake
We provide a flake that can be used.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
expert.url = "github:elixir-lang/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.
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 elixir-lang/expert
# Apple Silicon
$ gh release download nightly \
--pattern *darwin_arm64 \
--output ~/.local/bin/expert \
--clobber \
--repo elixir-lang/expert
$ chmod +x ~/.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.
# Builds an executable for your OS and copies it into `~/.local/bin/`
$ just install