Any vscode on any *nix
codevm
allows for quick downloading and installing any version of vscode via the command line.
Example:
# List available versions
$ codevm list
1.67.0 - insiders
1.66.0
1.65.0
[...]
# Get the latest stable release
$ codevm download stable
VsCode stable downloaded
# Get and install the insiders version
$ codevm install insider
VsCode insiders installed
Simple and intuitive!
codevm
- a version manager for vscode, works on any POSIX-compliant shell like bash
, zsh
or fish
.
I was furious when realized that the distribution of linux, which I was using at the time, did not include a proper vscode package in their package manager repository. And then I thought to myself: "Wouldn't it be nice, if I could have ** any version ** of vscode at my call?" - the idea was born.
Currently, cloning git repo is the only way to go
git clone https://github.com/Adamocho/codevm.git ~/.cache/codevm
Check whether ~/.cache/codevm.sh
is executable, and if not - change it
[sudo] chmod +x ~/.cache/codevm.sh
Now, add it to path
~/.cache/codevm.sh add
From now on, the codevm
command will be available for every user
Delete the script from your path
codevm remove
Remove the codevm folder from your .cache directory
rm -r ~/.cache/codevm
This section describes a basic usage of this script
For downloading, use: download
| -d
codevm download <stable/insider/specific_version>
For installing, use: install
| -i
codevm install <stable/insider/specific_version>
See the docs in your browser with docs
codevm docs
See the current version website with summary
codevm summary
Update versions list with fetch
then
Inspect it with list
codevm fetch
# Then
codevm list
-h
for help
-v
for version