Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started with the CLI
    • Running commands
    • CLI configuration
    • Synchronous and asynchronous command execution modes
  • CLI releases
  • Troubleshooting

In this article:

  • Managing a CLI configuration
  • Synchronous command execution
  • Connecting to a proxy server
  1. Concepts
  2. Running commands

Running commands

Written by
Yandex Cloud
Updated at June 11, 2025
  • Managing a CLI configuration
  • Synchronous command execution
  • Connecting to a proxy server

CLI commands are grouped by Yandex Cloud service or component.

Note

To get help information for a particular command, specify the --help global flag.

Managing a CLI configurationManaging a CLI configuration

Use one of the following to set or change the values of the CLI configuration parameters before executing a command:

  • Profiles: They store the value of a parameter (or multiple parameters) to use when running each command.

    You can create multiple profiles and switch between them as you need or run a command once using parameters from another profile by specifying the global --profile parameter.

    For more information about profile management, see the step-by-step instructions.

  • Global parameters: They define properties only once when a command is called. Global parameters are available for any command at any nesting level.

For a full list of available configuration parameters, see CLI configuration.

Synchronous command executionSynchronous command execution

Some commands take a long time to execute. In this case, you can control the timing of command execution.
While a command is running, the CLI displays dots in synchronous mode and immediately provides information about the operation in asynchronous mode. For more information about synchronization, see Synchronous and asynchronous modes of command execution.

Connecting to a proxy serverConnecting to a proxy server

The CLI can send requests to Yandex Cloud through a proxy server. To do this, you need to create the HTTPS_PROXY environment variable which the CLI will read for connection parameters. In the variable, specify:

  • Login and a password if authentication is required to connect.
  • Proxy server domain name or IP address.
  • Port to connect to.

Note

If the password contains special characters, replace them with hexadecimal ASCII codes. For example, if the password contains the @ character, use %40.

Linux/macOS
Windows (PowerShell)
Windows (cmd)

To create the HTTPS_PROXY environment variable, run this command:

export HTTPS_PROXY="https://user:password@hostname:port"

To disable traffic routing through the proxy server, clear HTTPS_PROXY:

unset HTTPS_PROXY

To create the HTTPS_PROXY environment variable, run this command:

$Env:HTTPS_PROXY = "https://user:password@hostname:port"

To disable traffic routing through the proxy server, restart the shell or clear HTTPS_PROXY using the command below:

$Env:HTTPS_PROXY = ""

To create the HTTPS_PROXY environment variable, run this command:

set HTTPS_PROXY=https://user:password@hostname:port

To disable traffic routing through the proxy server, restart the shell or clear HTTPS_PROXY using the command below:

set HTTPS_PROXY=

Was the article helpful?

Previous
Deleting a profile
Next
CLI configuration
© 2025 Direct Cursus Technology L.L.C.