This guide covers every way to install or run Time Warp Studio, from a one-command standalone installer to Docker containers and developer setups.
- Standalone Install (Recommended)
- System Requirements
- Developer / Portable Install
- Docker Install
- Troubleshooting
- Updating & Uninstalling
- Quick Reference
install.sh in the project root turns Time Warp Studio into a fully
self-contained application on Linux. After running it you can launch the
IDE from a terminal or from Applications ▸ Development ▸ Time Warp
Studio — no virtual environment activation, no cd, just run it.
The installer:
- Copies all application files to a dedicated directory
- Creates an isolated Python virtual environment with all dependencies
- Writes a shell launcher (
time-warp-studio) onto yourPATH - Registers a
.desktopfile so the IDE appears in your applications menu - Re-running the installer upgrades / overwrites the existing version
| Requirement | Minimum | Check |
|---|---|---|
| Linux distro | Any modern distro with a desktop environment | — |
| Python | 3.10+ | python3 --version |
| pip | any | python3 -m pip --version |
| venv | any | python3 -m venv --help |
Install missing prerequisites:
# Fedora / RHEL / CentOS
sudo dnf install python3 python3-pip
# Ubuntu / Debian
sudo apt update && sudo apt install python3 python3-pip python3-venvInstalls to /opt/time-warp-studio and creates /usr/local/bin/time-warp-studio.
Requires sudo / root.
# Clone (or download a release archive) and enter the directory
git clone https://github.com/James-HoneyBadger/Time_Warp_Studio.git
cd Time_Warp_Studio
# Run the installer as root
sudo ./install.shWhen it finishes you will see:
════════════════════════════════════════════════════
Time Warp Studio 8.x.x — Installed!
════════════════════════════════════════════════════
Start from terminal: time-warp-studio
Start from menu: Applications ▸ Development ▸ Time Warp Studio
Installed to: /opt/time-warp-studio
Launch it immediately:
time-warp-studioOr open your desktop's application launcher and look under Development.
Installs to ~/.local/share/time-warp-studio and creates
~/.local/bin/time-warp-studio.
cd Time_Warp_Studio
./install.sh --userPATH note: If
~/.local/binis not yet on yourPATHthe installer will warn you. Add this line to~/.bashrc(or~/.profile):export PATH="$HOME/.local/bin:$PATH"Then reload:
source ~/.bashrc
Re-run the installer with --upgrade to wipe and recreate the Python venv
(ensures you get the latest dependency versions). Without --upgrade the
installer still syncs all application files but reuses the existing venv.
# Upgrade a system-wide install
sudo ./install.sh --upgrade
# Upgrade a per-user install
./install.sh --user --upgradeWithout the --upgrade flag (incremental sync, faster):
sudo ./install.sh # system
./install.sh --user # per-userSystem-wide Per-user
───────────────────────────────── ─────────────────────────────────────────
/opt/time-warp-studio/ ~/.local/share/time-warp-studio/
Platforms/Python/… (same layout)
Examples/…
.venv/ # isolated Python environment
install.sh # re-runnable for upgrades
/usr/local/bin/time-warp-studio ~/.local/bin/time-warp-studio
(shell launcher script) (shell launcher script)
/usr/share/applications/ ~/.local/share/applications/
time-warp-studio.desktop time-warp-studio.desktop
/usr/share/icons/hicolor/ ~/.local/share/icons/hicolor/
256x256/apps/ 256x256/apps/
time-warp-studio.png time-warp-studio.png
Usage: ./install.sh [OPTIONS]
Options:
(none) System-wide install into /opt (requires sudo)
--user Per-user install into ~/.local (no sudo needed)
--upgrade Wipe and recreate the Python venv, reinstall all deps
--uninstall Remove Time Warp Studio completely (see §6)
--help Show help and exit
Examples:
sudo ./install.sh # fresh system install
sudo ./install.sh --upgrade # upgrade system install
./install.sh --user # fresh per-user install
./install.sh --user --upgrade # upgrade per-user install
sudo ./install.sh --uninstall # remove system install
./install.sh --user --uninstall # remove per-user install
| Item | Requirement |
|---|---|
| OS | Linux (Ubuntu 20.04+, Fedora 33+, Arch, or any modern distro) |
| Python | 3.10 or newer |
| RAM | 2 GB (4 GB recommended) |
| Disk | 600 MB free |
| CPU | 64-bit with SSE3 / SSE4.1 / SSE4.2 / POPCNT support |
| Display | Any X11 or Wayland desktop |
Virtual machine note: QEMU/KVM using TCG (software emulation) may lack the SSE4.2 instruction needed by PySide6. Enable KVM acceleration or pass
+sse4.2to the QEMU CPU flags.
grep -E 'ssse3|sse4_1|sse4_2|popcnt' /proc/cpuinfo | head -1All four flags must be present.
Use this if you want to run directly from the source tree (no system install).
# 1. Clone
git clone https://github.com/James-HoneyBadger/Time_Warp_Studio.git
cd Time_Warp_Studio
# 2. Create a virtual environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# 3. Install dependencies
pip install --upgrade pip
pip install "PySide6>=6.5.0" "Pillow>=10.0.0"
# 4. Launch
python Platforms/Python/time_warp_ide.pyOr use the smart launcher which handles the venv automatically:
python run.pyFor contributors, install the full development stack:
pip install pytest pytest-cov pytest-mock ruff black
python test_runner.py --comprehensiveRuns the IDE in a container — best compatibility for unusual hardware.
- Docker installed and running
- An X11 display (Linux desktop or XQuartz on macOS)
# Build (takes a few minutes first time)
docker build -t time-warp-studio .
# Run on Linux (shares your X display)
xhost +local:docker
docker run -it --rm \
-e DISPLAY="$DISPLAY" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$(pwd)/Examples":/app/Examples \
time-warp-studio
# Run on macOS (requires XQuartz)
docker run -it --rm \
-e DISPLAY=host.docker.internal:0 \
-v "$(pwd)/Examples":/app/Examples \
time-warp-studio# Restart the desktop database
update-desktop-database ~/.local/share/applications # per-user install
sudo update-desktop-database /usr/share/applications # system install
# Or log out and log back in- System install:
/usr/local/binshould already be onPATH. Check withecho $PATH. - Per-user install: Add
~/.local/binto your PATH:echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
Your CPU (or VM) is missing SSE4.2. See §2 for the check command.
Missing X11 runtime libraries:
# Ubuntu / Debian
sudo apt install libxcb-cursor0 libxkbcommon-x11-0 libxcb-icccm4 \
libxcb-keysyms1 libxcb-render-util0
# Fedora
sudo dnf install xcb-util-cursor libxkbcommon-x11 xcb-util-wm \
xcb-util-keysyms xcb-util-renderutil# Force-reinstall with a clean venv
sudo ./install.sh --upgrade # system install
./install.sh --user --upgrade # per-user installsudo ./install.sh --upgrade # system
./install.sh --user --upgrade # per-userPull the latest source, then re-run the installer:
cd Time_Warp_Studio
git pull
sudo ./install.sh --upgrade # system install
# or
./install.sh --user --upgrade # per-user installThe --upgrade flag forces a complete dependency reinstall.
Without it the sync is faster (application files only; venv kept as-is).
sudo ./install.sh --uninstall # removes system install
./install.sh --user --uninstall # removes per-user installThis removes:
- The application directory (
/opt/time-warp-studioor~/.local/share/time-warp-studio) - The shell launcher
- The
.desktopmenu entry - The icon
User settings stored in ~/.time_warp/ are not removed.
Delete them manually if desired:
rm -rf ~/.time_warp| Method | Command |
|---|---|
| Terminal (system or per-user install) | time-warp-studio |
| Desktop menu | Applications ▸ Development ▸ Time Warp Studio |
| From source tree | python Platforms/Python/time_warp_ide.py |
| Smart launcher (handles venv) | python run.py |
| Task | Command |
|---|---|
| System install | sudo ./install.sh |
| Per-user install | ./install.sh --user |
| System upgrade | sudo ./install.sh --upgrade |
| Per-user upgrade | ./install.sh --user --upgrade |
| System uninstall | sudo ./install.sh --uninstall |
| Per-user uninstall | ./install.sh --user --uninstall |
| Item | System install | Per-user install |
|---|---|---|
| Application | /opt/time-warp-studio/ |
~/.local/share/time-warp-studio/ |
| Launcher | /usr/local/bin/time-warp-studio |
~/.local/bin/time-warp-studio |
| Desktop entry | /usr/share/applications/time-warp-studio.desktop |
~/.local/share/applications/time-warp-studio.desktop |
| Icon | /usr/share/icons/hicolor/256x256/apps/time-warp-studio.png |
~/.local/share/icons/hicolor/256x256/apps/time-warp-studio.png |
| User config | ~/.time_warp/ |
~/.time_warp/ |
# Verify the IDE imports are working
/opt/time-warp-studio/.venv/bin/python -c \
"from time_warp.core.interpreter import Interpreter; print('✅ OK')"
# Run the full demo test suite (from the source directory)
python test_all_demos.pyFor more information see USER_GUIDE.md, LANGUAGE_GUIDE.md, and the guides in docs/guides/.