Visual Studio Code port for FreeBSD
VSCode has become a part of the ports tree
Visual Studio Code is now officially available in the FreeBSD ports tree. For more information, please see the following URL:
This git repository will continue to serve as a pre-official development repository.
This repository contains an experimental port of Visual Studio Code for FreeBSD. The port is largely based on:
- VS Code patches and build procedures by @prash-wghats
Get
A package file is available at the releases page. To install, download the file (with .txz extension) and run the command:
pkg install vscode-<version>.txz
Run
code-oss
Build
If you would like to build artifacts for yourself, be sure you have the ports tree on your machine. If not, run the following commands:
portsnap fetch
portsnap extract
Clone this repository with git command and build/install vs code:
git clone https://github.com/tagattie/FreeBSD-VSCode
cd FreeBSD-VSCode/editors/vscode
make install clean
Note for Poudriere users
If you would like to build the port using Poudriere, you need to raise the limit for the maximum number of open files allowed for a jail (default is 1024
) by adding the following line to poudriere.conf
:
MAX_FILES_vscode=4096
Platform
- Built on FreeBSD 11 and 12 amd64.
Credits
- VS Code patches and build scripts by @prash-wghats at Electron-VSCode-Atom-For-FreeBSD