Follow the instructions below for your operating system to install the
pbauthor
command line tool. Be sure to follow the
Verify your installation steps after following the
OS-specific instructions.
Use Homebrew.
- Install Homebrew (if not already installed).
- Install the command line tool.
brew install pathbird/tap/pbauthor
-
Install Scoop (if not already installed). From PowerShell (not Command Prompt), run these commands to install Scoop.
# Allow PowerShell to execute arbitrary code (you may be prompted to allow this) Set-ExecutionPolicy RemoteSigned -scope CurrentUser # Download and execute the Scoop installer Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
-
Install the command line tool.
# Install git (this is required to add the Pathbird bucket) scoop install git # Tell scoop where to find Pathbird's published packages scoop bucket add pathbird https://github.com/pathbird/scoop-bucket.git # Install the pbauthor tool scoop install pathbird/pbauthor
If you're using Linux, or you want more control over your installation, you can follow these steps.
- Download the binary from the latest GitHub release.
- Add the executable to your
PATH
. Make sure to set the executable bit if necessary.
Alternatively, you can download and build the Go source code.
- Log in to Pathbird using the command line tool.
# Authenticate with the Pathbird API # This should prompt you for your email and password pbauthor auth login
- Verify that the authentication worked.
The output should look something like this:
pbauthor auth status
✅ Authenticated (until Tue, 06 Apr 2021 00:38:46 UTC)
The pbauthor
command line is periodically updated. It may be necessary
to update your installed version in order to deal with breaking changes in the
Pathbird API or to access newer features.
Open a terminal and run this command.
brew upgrade pbauthor
Open PowerShell and run this command.
scoop update pbauthor
Download a new binary as described in the Custom installation and replace the old binary with the new binary.