Skip to main content
Version: v4.4.0

Windows

To install the latest STK CLI version, download the installer and run it in your terminal.

info

Use Git Bash for a better experience (such as the auto-complete feature).

Homologated Versions

STK CLI works on the following Windows versions:

  • Windows 11
  • Windows 10

    There are no installation requirements for other versions, but STK CLI compatibility may not be complete.

Requirements

Set up your Git user

After installing Git, configure the user and email address of your repository account. In the terminal, run the following commands:

Step 1. Set up your username and email address

Name:

git config --global user.name "{username}"

E-mail:

git config --global user.email "{email}"

Step 2. Check the configuration

Run the following commands:

git config --get user.name

Next:

git config --get user.email
info

If your Git repository account username and email address were displayed in the terminal, go to the Quickstart section. If there was an error, repeat [Step 1] to correct it.

Follow the steps below to install STK CLI:

Step 1. Download the STK CLI

Log in to login to StackSpot and go to the "Downloads" tab. Or go to download page if you are already authenticated.

Step 2. Follow the wizard instructions on your computer

Go to the folder where you placed the stk.msi file. Double-click on the file to start the installation. Follow the wizard instructions on your computer and finish the installation.

Step 3. Restart the terminal after installation

If the terminal is open, close it and open it again after installing it. It will help the stk command get recognized.

In the terminal, run the command:

stk --version
caution

If STK CLI activation didn't work, whenever you run a command in the terminal, you will receive an alert to activate the code. For more details about the activation code, check Step 1 again.

If everything is configured, the terminal will return the current STK CLI version number.

Step 4. Authenticate the STK CLI

To authenticate the STK CLI, run the command below:

stk login

The command will ask for your account email, enter the email registered on the StackSpot Website. It is also possible to inform the email as a parameter:

stk login <email-account@email.com>

A screen will open in your default browser for you to enter the username and password associated with the account. After validating the information and confirming the login, return to the STK CLI where your session will start.

Next steps

Now you can start using STK CLI, check Quickstart section.

Was this page helpful?