Updating VSCode via Snap on Ubuntu | Generated by AI

Home PDF

To update Visual Studio Code (VSCode) installed via Snap on Ubuntu, follow these steps:

  1. Open a terminal: You can do this by pressing Ctrl + Alt + T.

  2. Check for updates: Snap automatically checks for updates in the background, but you can manually trigger an update check by running:
    sudo snap refresh
    
  3. Update VSCode: If a newer version of VSCode is available, the snap refresh command will download and install it. You’ll see output indicating the progress, like:
    code 1.85.2 from Visual Studio Code (code✓) refreshed
    

    If no updates are available, it will say:

    All snaps up to date.
    
  4. Verify the update: To confirm the installed version of VSCode, run:
    code --version
    

    This will display the current version of VSCode.

Notes:

This process ensures VSCode stays up to date with the latest version available in the Snap store.


Back 2025.05.31 Donate