Skip to Content
CLI referencegensx envgensx env

gensx env

The gensx env command displays the name of the currently selected environment.

Usage

gensx env [options]

Options

OptionDescription
-p, --project <name>Project name to show environment details for.
-h, --helpDisplay help for the command.

Examples

# Show the current environment gensx env # Show the current environment for a specific project gensx env --project my-app

Notes

  • You must be logged in to GenSX Cloud to show environment details (gensx login)
  • You can use this command to verify your current environment before running important operations
  • If no environment is selected, the command will indicate this
Last updated on