Skip to content

CLI Installation & Setup Quickstart

This quickstart guide walks developers and system administrators through installing the Niksphere CLI (nik) and authenticating with Niksphere Cloud.

Prerequisites

Before starting, ensure you have:

  • A working terminal environment (PowerShell on Windows, or Bash/Zsh on Linux/macOS).
  • Network access to https://install.niksphere.de (for script installation) and https://my.niksphere.de (for Cloud authentication).

Step 1: Install Niksphere CLI

The Niksphere CLI (nik) can be installed using automated platform installation scripts.

For this quickstart, run the installation command for your operating system:

powershell
irm https://install.niksphere.de/install.ps1 | iex
bash
curl -fsSL https://install.niksphere.de/install.sh | bash
bash
curl -fsSL https://install.niksphere.de/install.sh | bash

Step 2: Connect to Niksphere Cloud

The Niksphere CLI (nik) connects to Niksphere Cloud to manage cloud tenants, regions, and remote engine environments.

For this quickstart, log in to your Cloud account:

bash
nik cloud auth login

Verification

Verify that your Niksphere CLI installation and Cloud authentication are configured cleanly:

  1. Verify CLI Version & System Info:

    bash
    nik about
  2. Verify Active Cloud Auth Status:

    bash
    nik cloud auth status

Expected Response:

text
Cloud Context: https://my.niksphere.de
Status: Authenticated
User: user@company.internal
Active Tenant: my-company-tenant

Next Steps