Installation

The Aviator command line tool (invoked as av) can be used to streamline and automate common tasks within your Git and GitHub workflows. Currently, the tool is used primarily to manage Stacked PRs.

macOS (Homebrew)

First, if not already done, install Homebrew.

Then install using Homebrew tap.

brew install gh aviator-co/tap/av

Arch Linux (AUR)

Published as av-cli-bin in AUR.

yay av-cli

Debian/Ubuntu

Add Aviator to your APT repositories.

echo "deb [trusted=yes] https://apt.fury.io/aviator/ /" > \
/etc/apt/sources.list.d/fury.list

And then apt install.

sudo apt update
sudo apt install av

Alternatively

If you'd prefer you can download the .deb file from the releases page.

apt install ./av_$VERSION_linux_$ARCH.deb

RPM-based systems

Add the following file /etc/yum.repos.d/fury.repo.

[fury]
name=Gemfury Private Repo
baseurl=https://yum.fury.io/aviator/
enabled=1
gpgcheck=0

Run the following command to confirm the configuration is working.

yum --disablerepo=* --enablerepo=fury list available

And then run yum install.

sudo yum install av

Alternatively

If you'd prefer you can download the .rpm file from the releases page.

rpm -i ./av_$VERSION_linux_$ARCH.rpm

Binary download

Download the binary from the releases page. Extract the archive and add the executable to your PATH.

Setup

  1. Set up the GitHub CLI for GitHub authentication:

    gh auth login

    Or you can create a Personal Access Token as described in the Configuration section.

  2. Set up the av CLI autocompletion:

    # Bash
    source <(av completion bash)
    # Zsh
    source <(av completion zsh)
  3. Initialize the repository:

    av init

Upgrade

macOS (Homebrew)

brew update
brew upgrade av

Debian/Ubuntu

sudo apt update
sudo apt upgrade

RPM-based systems

yum update

Last updated