The mynerva-pbauthor
tool is a command line interface (CLI) so it isn't distributed like most other graphical Windows software.
Scoop is a command-line installer for Windows that is analogous to brew
or apt
(in the MacOS and Linux worlds). You should use this method if you haven't set up Windows Subsystem for Linux.
Install the scoop
tool (documentation). If you've already installed Scoop, you can skip this step.
Open PowerShell (not Command Prompt) via the start menu and run the following commands:
# 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 pbauthor
tool.
# Install git (this is required to add the Mynerva bucket)
scoop install git
# Tell scoop where to find Mynerva's published packages
scoop bucket add pathbird <https://github.com/pathbird/scoop-bucket.git>
# Install the mynerva-author tool
scoop install pathbird/pbauthor
Test it!
From either PowerShell (recommended) or the normal command prompt, you should be able to invoke the mynerva-author
tool.
# Authenticate with the Mynerva API
# This should prompt you for your email and password
pbauthor auth login
# Check that the authentication worked
pbauthor auth status
See the ‣ instructions. If you're using WSL (Windows Subsystem for Linux), make sure you download the Linux-specific version of the CLI.