Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started
    • All guides
    • Installation
    • Updates
    • Deletion
    • Working with command versions
  • Releases
  • Troubleshooting
  1. Step-by-step guides
  2. Deletion

Uninstalling the Yandex Cloud CLI

Written by
Yandex Cloud
Updated at August 19, 2026
View as Markdown

To fully uninstall the CLI, delete the installation directory, user settings, and environment variables.

Linux/MacOS
Windows
  1. Remove the CLI:

    rm -rf <installation_directory_path>
    

    By default, the installation directory path is ~/yandex-cloud.

    rm -rf ~/yandex-cloud
    
  2. Remove your CLI user settings:

    rm -rf ~/.config/yandex-cloud
    
  3. Delete lines referencing yandex-cloud from the shell configuration file (e.g., ~/.zshrc, ~/.bashrc, or ~/.bash_profile):

    if [ -f "$HOME/yandex-cloud/path.bash.inc" ]; then source "$HOME/yandex-cloud/path.bash.inc"; fi
    if [ -f "$HOME/yandex-cloud/completion.zsh.inc" ]; then source "$HOME/yandex-cloud/completion.zsh.inc"; fi
    
  4. Restart the terminal.

  1. Uninstall the CLI via the explorer or using this command:

    rmdir /S /Q "%USERPROFILE%\yandex-cloud"
    
  2. Remove your CLI user settings:

    rmdir /S /Q "%USERPROFILE%\.config\yandex-cloud"
    
  3. If the CLI was added to your PATH environment variable:

    1. Click Start and type Change system environment variables in the Windows search bar.
    2. Click Environment variables... at the bottom right.
    3. In the window that opens, find the PATH parameter and click Edit.
    4. In the list, select ...\yandex-cloud\bin.
    5. Click Delete.
    6. Click OK.
  4. Restart the terminal.

Was the article helpful?

Previous
Updates
Next
Working with command versions
© 2026 Direct Cursus Technology L.L.C.