CLI Installation
Learn how to install Stacked PRs CLI. The Aviator command line tool can streamline and automate common tasks within your Git and GitHub workflows.
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/avArch Linux (AUR)
Published as av-cli-bin in AUR.
yay av-cliDebian/Ubuntu
Add Aviator to your APT repositories.
echo "deb [trusted=yes] https://apt.fury.io/aviator/ /" > \
/etc/apt/sources.list.d/fury.listAnd then apt install.
sudo apt update
sudo apt install avAlternatively
If you'd prefer you can download the .deb file from the releases page.
apt install ./av_$VERSION_linux_$ARCH.debRPM-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=0Run the following command to confirm the configuration is working.
yum --disablerepo=* --enablerepo=fury list availableAnd then run yum install.
sudo yum install avAlternatively
If you'd prefer you can download the .rpm file from the releases page.
rpm -i ./av_$VERSION_linux_$ARCH.rpmBinary download
Download the binary from the releases page. Extract the archive and add the executable to your PATH.
Setup
Set up the GitHub CLI for GitHub authentication:
gh auth loginOr you can create a Personal Access Token as described in the Configuration section.
Set up the
avCLI autocompletion:# Bash source <(av completion bash) # Zsh source <(av completion zsh)Initialize the repository:
av init
Upgrade
macOS (Homebrew)
brew update
brew upgrade avDebian/Ubuntu
sudo apt update
sudo apt upgradeRPM-based systems
yum updateLast updated
Was this helpful?
