Skip to content

contexts environments get

Overview

Get the default environment of the current context

Aliases: get

Usage:

quix contexts environments get [options]

How It Works

The quix contexts environments get command retrieves and displays the default environment for the current context. If no default environment is set, the command will indicate this.

Example Usage

To get the default environment of the current context, use the following command:

$ quix ctx envs get

If a default environment is set for the current context, you will see the following message:

The default environment for the current context is: your-environment-id

If no default environment is set for the current context, you will see the following message:

✗ No default environment is set for the current context

Tip

You can set the default environment using the quix use command.