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
    • All guides
    • CLI installation
    • CLI update
    • Uninstalling the CLI
  • CLI releases
  • Troubleshooting
  1. Step-by-step guides
  2. Uninstalling the CLI

Uninstalling the CLI

Written by
Yandex Cloud
Updated at November 11, 2025

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

Linux/MacOS
Windows
  1. Remove the CLI:

    rm -rf <installation_folder_path>
    

    By default, the the installation folder 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
CLI update
Next
Authenticating as a user
© 2025 Direct Cursus Technology L.L.C.