Open-Source Version of VSCode: A Comprehensive Guide

The open-source version of VSCode, known as Code – OSS, is available on GitHub under the MIT License. Unlike the official VSCode release, which includes proprietary Microsoft modifications and telemetry, Code – OSS allows users to compile and use the editor in a fully open-source manner. Many Linux distributions, such as Ubuntu and Fedora, offer Code – OSS through their native package managers (e.g., `apt` or dnf), ensuring a telemetry-free experience.

Installing Code – OSS on Linux

To install the open-source version of VSCode on Ubuntu, use the following commands:

sudo apt update
sudo apt install code-oss

For Fedora:

sudo dnf install code-oss

Compiling Code – OSS from Source

If you prefer to compile Code – OSS from the source code, follow these steps:

1. Clone the repository:

git clone https://github.com/microsoft/vscode.git
cd vscode

2. Install dependencies:

npm install

3. Compile the code:

npm run compile

4. Launch the editor:

./scripts/code.sh

Workaround for Extensions

Some extensions may not be compatible with Code – OSS due to licensing restrictions. However, you can manually install extensions by downloading their `.vsix` files and using the following command:

code-oss --install-extension path/to/extension.vsix

What Undercode Say

The open-source version of VSCode, Code – OSS, provides a telemetry-free alternative to the official release, making it ideal for privacy-conscious developers. While it requires manual compilation or installation via package managers, it adheres to open-source principles. For Linux users, native package managers like `apt` and `dnf` simplify the process. However, some extensions may require workarounds due to licensing constraints.

To further enhance your cybersecurity and development workflow, consider exploring additional tools and commands:
– Linux Security Commands:
– Check open ports: `sudo netstat -tuln`
– Monitor system logs: `sudo tail -f /var/log/syslog`
– Scan for vulnerabilities: `sudo lynis audit system`
– Windows Security Commands:
– Check firewall status: `netsh advfirewall show allprofiles`
– List running processes: `tasklist`
– Scan for malware: `sfc /scannow`
– GitHub Resources:
VSCode GitHub Repository
Code – OSS Documentation

By leveraging these tools and commands, you can build a secure and efficient development environment while adhering to open-source principles.

References:

Hackers Feeds, Undercode AIFeatured Image

Scroll to Top