Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.8 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.8 KB

Automated shell script for installing Visual Studio Code on Linux.

Supports: x64, arm64, and x86 architectures

Features

  • Automatically detects Linux distribution and architecture.
  • Downloads the latest stable release of Visual Studio Code.
  • Extracts and installs to ~/.local/vscode-stable for user-only access.
  • Automatically adds the binary to ~/.local/bin for easy terminal access.
  • Creates a .desktop file for easy launching from the applications menu.
  • Optional flags for clearing cache and forced reinstallation.

Installation

  1. Close any running instances of Visual Studio Code.
  2. Run the following command in your terminal:
curl -f https://raw.github.com/void-land/vscode-installer/main/install.sh | sh

Uninstallation

To uninstall Visual Studio Code, run the following command:

curl -f https://raw.github.com/void-land/vscode-installer/main/uninstall.sh | sh

Alternatively, you can manually delete the installation directory:

rm -rf ~/.local/vscode-stable ~/.local/bin/code
rm -rf ~/.local/share/applications/code.desktop
rm -rf ~/.local/share/applications/code-url-handler.desktop

Notes

Disclaimer

This script is provided as-is, and the repository owners are not responsible for any issues caused by the use of this installer.