# view the current environment
jx env -b
# pick which environment to switch to
# Change the current environment to 'staging'
jx env staging
-b, --batch-mode In batch mode the command never prompts for user input
--headless Enable headless operation if using browser automation
-h, --help help for environment
--install-dependencies Should any required dependencies be installed automatically
--log-level string Logging level. Possible values - panic, fatal, error, warning, info, debug. (default "info")
--no-brew Disables the use of brew on macOS to install or upgrade command line dependencies
--pull-secrets string The pull secrets the service account created should have (useful when deploying to your own private registry): provide multiple pull secrets by providing them in a singular block of quotes e.g. --pull-secrets "foo, bar, baz"
--skip-auth-secrets-merge Skips merging a local git auth yaml file with any pipeline secrets that are found
--verbose Enable verbose logging
jx - jx is a command line tool for working with Jenkins X