This guide shows you how to create your first track using the CLI. This is what you'll do:
Install and authenticate the CLI
Create local track configuration files
Push your local track to Instruqt
Play your first track!
Download the latest release
Extract the archive
Move the binary to a location in your
$PATH, for example:
To test if you can run the CLI, run the
instruqt command in your terminal
To start developing tracks with the CLI, authenticate your local install first
instruqt auth login in your terminal
Open the generated URL in your browser
Log in using your Instruqt credentials
Step 1: Create a track
To create a directory
first-track with track configuration files on your local machine, run this command:
instruqt track create --title "First track"
Step 2: Add the first challenge
Change into the new directory with the track:
Add the first a challenge:
instruqt challenge create --title "First challenge"
This lab features an
ubuntu sandbox host and one challenge that shows a terminal tab.
To play the lab in a web browser, run this command in the track directory:
instruqt track open
Explore our template tracks and learn from examples
Discover how to add a setup script to pre-install software
Learn about the types of tabs you can add in a challenge
Read the track configuration file reference