Install Instruqt CLI
The Instruqt command-line tool can be used to initialize, format and validate your lab.
Example usage
❯ instruqt lab --help
Create and manage labs
Usage:
instruqt lab [command]
Available Commands:
format Format the lab config at the given path
init Initialize a new lab from an example
validate Validate a local lab
Flags:
-h, --help help for lab
Use "instruqt lab [command] --help" for more information about a command.
Install the Instruqt CLI
The CLI is available on macOS, Windows and Linux, and can be installed using either a package manager (recommended), or manually from GitHub releases.
Using a package manager
Open a terminal
Install the CLI using Homebrew
brew install instruqt/tap/instruqt
Confirm the Instruqt CLI was installed correctly:
instruqt lab --help
Manually from the latest release
Instruqt CLI releases are published to GitHub. You can download the latest release for your Operating System from https://github.com/instruqt/cli/releases/latest. Refer to the instructions below how to install these for your system.
Open a terminal.
Download the appropriate CLI (Apple Silicon or Intel Macbook, in that order):
curl -L https://github.com/instruqt/cli/releases/latest/download/instruqt-darwin-arm64.zip -o instruqt.zip
curl -L https://github.com/instruqt/cli/releases/latest/download/instruqt-darwin-amd64.zip -o instruqt.zip
Extract the CLI binary:
unzip instruqt.zip
Copy the binary to your local
bin
directory:sudo cp instruqt /usr/local/bin
Make the binary executable:
sudo chmod +x /usr/local/bin/instruqt
Confirm the Instruqt CLI was installed correctly:
instruqt lab --help
Last updated