Skip to main content

vscvm

A VSCode version manager.

Install

Install vsc via pip:

pip install vscvm

Add the following to your .bashrc file:

export PATH=$HOME/.vscvm:$PATH
if [ ! -e "/tmp/vscvm_check_update" ]; then
  vscvm_check_update
fi

and that's it!

Disabling update checks

If you don't want an update check to run periodically, you only need to add this one line to your .bashrc:

export PATH=$HOME/.vscvm:$PATH

Usage

$ vsc list
v1.59 - July 2021
v1.58 - June 2021
v1.57 - May 2021
v1.56 - April 2021
v1.55 - March 2021

$ vsc install latest
Downloading v1.59 - July 2021...
Successfully installed v1.59!

$ code --version
1.59.0

Commands

  • list:

    $ vsc list -n 3
    v1.59 - July 2021      [Active]
    v1.58 - June 2021      [Installed]
    v1.57 - May 2021
    
    $ vsc list --installed
    v1.59 - July 2021      [Active]
    v1.58 - June 2021      [Installed]
    
    $ vsc list --active
    v1.59 - July 2021      [Active]
    
  • install:

    $ vsc install latest
    Downloading v1.59 - July 2021...
    
    $ vsc install v1.57
    Downloading v1.57 - May 2021...
    
    $ vsc install 1.42
    Downloading v1.42 - January 2020...
    
  • uninstall:

    $ vsc list --active
    v1.59 - July 2021      [Active]
    $ vsc uninstall
    Uninstalled v1.59.
    
    $ vsc uninstall 1.56
    Uninstalled v1.56.
    
  • cleanup:

    $ vsc list -n3
    v1.59 - July 2021      [Active]
    v1.58 - June 2021      [Installed]
    v1.57 - May 2021       [Installed]
    
    $ vsc cleanup
    Uninstalled v1.58.
    Uninstalled v1.57.
    

Troubleshooting

  • vsc: command not found

    If you installed vscvm via pip, but the terminal says vsc is not a recognized command, that means that you probably don't have ~/.local/bin in your PATH.

    Add the following line into your .bashrc file:

    PATH=$PATH:$HOME/.local/bin
    

    then restart your terminal, and it should start working.

Release files for vscvm 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vscvm 1.5.0
File Size Uploaded
vscvm-1.5.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vscvm 1.5.0
File Interpreter ABI Platform
vscvm-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / vscvm-1.5.0.tar.gz

Download URL vscvm-1.5.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1d24a478bcdde0d1e0375281215b419e986205fdd7fb98ab69d68cc6ace17866
BLAKE2b-256 checksum
How to use checksums
4aa51ef6e03410b0e441fb8bd593521bade9149f3c2063f3b775538f78a1babc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / vscvm-1.5.0-py3-none-any.whl

Download URL vscvm-1.5.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
873bd21ededd17a395292fc38a8812a54cc74aa6d1b434dd37dbf619fef475cc
BLAKE2b-256 checksum
How to use checksums
70bf95eb5bb4a8d6747fe9bd52c56900d32731527bda0ecb9821278eda834ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page