Skip to main content
By default, when you run a command with the --help parameter, the CLI displays detailed help output in interactive mode. In this mode, the CLI opens an alternate screen with pagination where a pager displays the output one screen at a time. Use additional, optional settings in the CLI to display compact help output, print it directly to standard output or use a different pager. The settings apply to nebius --help and to the --help parameter for subcommands. You can use these settings individually or altogether.

Displaying compact help output

Set NEBIUS_OLD_HELP to 1 to make the help output compact and print it directly to standard output:

Printing detailed help output to standard output

Set NEBIUS_NO_ALTERNATE_SCREEN to 1 to print detailed help output, including its spacing, directly to standard output instead of opening an alternate screen:
If NEBIUS_OLD_HELP=1 is also set, the CLI uses the compact help output format.

Selecting a pager

Set NEBIUS_PAGER to use a specific pager for help output. For example, if Neovim is installed, you can set it as the pager:
The Nebius AI Cloud CLI can use any of the following environment variables to select the pager. If more than one is set, it uses the first one in this list:
  1. NEBIUS_PAGER
  2. MANPAGER
  3. PAGER
NEBIUS_PAGER affects only the Nebius AI Cloud CLI. MANPAGER and PAGER can also affect other command-line tools. If the CLI can’t launch the configured pager, it uses the default one. The pager settings apply only when neither NEBIUS_OLD_HELP nor NEBIUS_NO_ALTERNATE_SCREEN is set to 1.

Saving the settings

The export commands apply to the current shell session. For future sessions, add the corresponding command to the configuration file for your shell:
  • Bash: ~/.bashrc
  • Zsh: ~/.zshrc
Start a new shell session after saving the file.