https://github.com/spookyorange/vscode-linux-install
Install Visual Studio Code from a Tarball on your Linux machine, easily and without root privileges!
https://github.com/spookyorange/vscode-linux-install
bash bash-script code debian fedora fedora-silveblue linux shell steam-deck steamos tarball ubuntu visual-studio-code vscode
Last synced: about 1 month ago
JSON representation
Install Visual Studio Code from a Tarball on your Linux machine, easily and without root privileges!
- Host: GitHub
- URL: https://github.com/spookyorange/vscode-linux-install
- Owner: spookyorange
- License: agpl-3.0
- Created: 2024-05-04T10:48:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-06T07:25:19.000Z (about 1 year ago)
- Last Synced: 2025-04-10T05:13:47.905Z (about 1 month ago)
- Topics: bash, bash-script, code, debian, fedora, fedora-silveblue, linux, shell, steam-deck, steamos, tarball, ubuntu, visual-studio-code, vscode
- Language: Shell
- Homepage:
- Size: 55.7 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install tarball version of Visual Studio Code with just a basic script!
A script to easily install Visual Studio Code the tarball way on your Linux machine!
Note: This installation script is by no means affiliated with Visual Studio Code project, or its maintainers.
## Prerequisites
* [git](https://git-scm.com/)
* [curl](https://github.com/curl/curl)## Usage
Clone the repo and run the script
```bashgit clone https://github.com/spookyorange/vscode-linux-install.git
cd vscode-linux-install
sh ./install.sh```
To remove the application(if it has been installed with this method)
```bashsh ./uninstall.sh
```
Updates are handled by running the install script again, you can just run the install script and all good!
```bashsh ./install.sh
```
## Details
The script will install the application in the following destinations if you have installed locally:
- ~/.tarball-installations/code
- ~/.local/bin/code
- ~/.local/share/applications/code.desktop## Tested Distros
- Fedora by Spookyorange
- Fedora Atomic(Silverblue) by Spookyorange
- SteamOS(Steam Deck) by Spookyorange
- Void Linux with GlibC by Dreampop602
- Ubuntu by Dreampop602
- Gentoo stable by oblivikun
- Debian by Andrezeira1 and PenguinByte
- Arch by Dreampop602## Contributing
If you have a distro that you would like to add to the list of tested distros, please submit a pull request with the changes you made to the script and the distro you tested it on. Check out this guide to make the pull request:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork