Install VSCode as a non-root user on a Linux distribution?

Viewed 6687

What is the de-facto approach to install VSCode on a Linux distribution e.g., Fedora as a non-root user? In other words, I want to install VSCode without using sudo permissions? Is there a way to git clone the repo and use it?

Any pointers are welcome!

2 Answers

It appears that downloading the .rpm file and running:

rpm2cpio the_file_name.rpm | cpio -idv

from the directory where it is downloaded will unpack VSCode's contents. Then, exporting the path to bin/code is sufficient.

Related