Documentation
VexOS Desktop 2.2.1
VexOS Desktop is a Debian trixie live desktop for web development. This page covers installing it, using DevStudio, the tutorials, building the ISO, and common problems.
Install in VirtualBox
- Download the ISO from GitHub Releases. Check that the download finished before you continue.
- Create the VM. Type Linux, version Debian (64-bit), 4 GB RAM (more is better), and 2 CPUs. A disk is optional because this is a live system.
- Set the display. Under Display, set Graphics Controller to
VMSVGAand Video Memory to128 MB. The desktop uses the largest resolution the VM offers at login. - Attach the ISO to the optical drive, then start the VM. BIOS works by default. Enable EFI only if you need UEFI.
First login
The live user is vex with the password vexos, and it has sudo. Change the password after your first login with passwd.
Changes you make in the live session are lost on reboot. To keep files, copy them to a shared folder or install the system to disk when that option is available.
The desktop
- Top bar: applications menu, clock, and system tray.
- Dock: on the left, with Firefox, Terminal, and VexOS DevStudio.
- Look: the Yaru dark theme in VexOS red, Yaru icons, and the Ubuntu font.
- Desktop folder: sample files.
hello-web.htmlruns JavaScript in Firefox,hello.pyruns withpython3 hello.py, andabout-vexos.htmlshows the About page. - vexpad: a small terminal editor.
vexpad --helpshows About and system information.vexpad --guideshows the editor cheat sheet. - Packages: apt works on Debian mirrors. For example,
sudo apt install htop.
VexOS DevStudio
DevStudio is a web IDE that runs on your computer. Open it from the dock or the application menu. It starts a local server on 127.0.0.1:8765 and opens Firefox. Only this computer can reach it.
What you can do
- Edit files with tabs, syntax colors, and Ctrl+S to save.
- Run with Ctrl+Enter: C and C++ (gcc and g++), Python, JavaScript (Node.js), Rust, and shell scripts. Answer a program's questions in the input box.
- Create projects from the New project menu: C, Python, Node.js, static web page, React (Vite), Next.js, and Rust (Cargo).
- Preview running web apps in the Preview tab.
- Use the terminal box for any command in the selected folder, for example
npm install axios. - Ask the AI to explain code, fix the last error, improve a file, or write tests.
Projects live in ~/VexProjects.
Add your Groq API key
- Create a key at console.groq.com/keys.
- In DevStudio, open Settings, paste the key, and click Save.
api.groq.com, when you ask the AI something.Known limits
- The syntax-colored editor loads from the internet the first time. Without internet, DevStudio uses a plain text editor.
- React and Next.js projects download packages when they are created, so they need internet.
- Debian's npm is version 9.2. To update it, run
sudo npm install -g npm@latest. - There is no debugger panel yet. Use gdb from the terminal.
Tutorials
1. Your first Python project
- Choose Python project, click New project, and name it
hello-py. - Open
main.py, change the message, and save with Ctrl+S. - Press Run. The output panel shows what the script printed.
2. A Node.js script
- Choose Node.js project and name it
hello-node. - Edit
index.jsand press Run. - To add a package, type
npm install lodashin the terminal box.
3. Install software with apt
sudo apt update
sudo apt install htop
htop4. Edit text with vexpad
vexpad notes.txt
# i to type, Esc to stop, :wq to save and quit5. Compile and run C
- Choose C project, create
hello-c, and openmain.c. - Change the message to
printf("Hello, VexOS!\n");. - Press Run. Compiler warnings appear with their line numbers, and errors stop the program from running.
6. Build a React app
- Choose React (Vite) and create
my-react. This downloads packages, so it needs internet. - Open
src/App.jsx, edit the text, and save. - Press Run. The app opens in the Preview tab, and each save reloads it. Press Stop when you are finished.
7. Build a Next.js app
Choose Next.js app and name it my-next. The project uses TypeScript, the App Router, Tailwind, and ESLint. Run it the same way as the React app. It opens in Preview on port 3000.
8. Rust with Cargo
- Choose Rust (Cargo) and create
hello-rust. - Press Run. Cargo builds and runs
src/main.rs. - To add a crate, type
cargo add serdein the terminal box, inside the project folder.
9. Ask the AI about an error
- Make a mistake on purpose and press Run.
- Press Fix error in the AI panel. The assistant reads the file and the last output, then explains the problem and gives a fix.
- Press Replace file to apply the fix, or Insert at cursor to add it where you are typing.
10. Make a web page
- Choose Static web page and create
my-site. - Edit
index.htmland open it in the Preview tab. - To try it in Firefox directly, open the file from the Desktop folder or the project folder.
Build the ISO
You can build the ISO from source on a Debian or Ubuntu machine, or in a Debian virtual machine. WSL often cannot run the build. Needs about 25 GB of free disk, 4 GB of RAM, and an internet connection. A build takes 30 to 90 minutes.
1. Install the build tools
sudo apt update
sudo apt install -y git live-build dpkg-dev2. Download only the desktop folder
git clone --filter=blob:none --sparse --depth 1 --branch arena/fd4ab751-vexos \
https://github.com/Nour-yahyaoui/vexos.git vexos
cd vexos
git sparse-checkout set distro/vexos-desktop
cd distro/vexos-desktop3. Check, configure, and build
sh validate.sh # checks files and scripts, builds nothing
sudo sh auto/config # builds the VexOS packages and the live-build config
sudo sh auto/build # output: live-image-amd64.hybrid.isoThe log is saved to build.log. The ISO is written to the same folder. Check its size with ls -lh *.iso. To start over, run sudo sh auto/clean.
What to expect
- A file named
live-image-amd64.hybrid.isoindistro/vexos-desktop/. It is large because it includes the development tools. - If the build stops, the last lines of
build.logshow the failing package.
Troubleshooting
The desktop is small and does not fill the window
Set Display to VMSVGA with 128 MB of video memory, then log in again. Without Guest Additions the desktop follows the VM's display mode, not the window. Use Settings > Display to choose a larger resolution.
The VM does not boot the ISO
Check that the ISO is attached to the optical drive and that it is first in the boot order. Try BIOS mode first.
The system is slow
Give the VM more RAM and two or more CPUs. Close apps you do not use.
Copy and paste does not work between my computer and the VM
Clipboard sharing needs VirtualBox Guest Additions, which this image does not include yet.
Something I installed disappeared
The live system resets on reboot. Save your files to a shared folder, or install the system to disk.
DevStudio does not open
Open the terminal and run vexos-devstudio. The server log is in ~/.local/state/vexos-devstudio/server.log.
FAQ
Is VexOS a Debian distribution?
Yes. VexOS Desktop is built on Debian trixie with live-build, and it uses Debian packages and apt.
Is it free?
The project is open source. Check the repository for the license terms.
Can I install it on a real computer?
The ISO is a live system, so it runs from the disk without changing it. Installing to disk is not part of this release yet.
Where is the source?
On GitHub at github.com/Nour-yahyaoui/vexos, by Nour-yahyaoui.
Where do I start?
Read Install in VirtualBox, then try tutorial 5 or tutorial 6. Back to the home page.