Installation & CLI

Install from PyPI

pip install joltsim

Optional extras:

# Gymnasium VectorEnv + PyTorch CUDA bridge:
pip install "joltsim[rl]"

# JoltSim Studio 3D browser UI (websockets):
pip install "joltsim[ui]"

# Documentation build toolchain (Sphinx, Furo, MyST):
pip install "joltsim[docs]"

Install from Source

Requires Python \(\ge 3.10\), CMake \(\ge 3.20\), Ninja, and a C++17 compiler (GCC \(\ge 11\), Clang, or MSVC).

git clone https://github.com/parsany/JoltSim.git
cd JoltSim
python -m venv .venv
source .venv/bin/activate
pip install -e ".[rl,ui]"

Verify your installation across single-world, vectorized, camera, and Gym workloads:

python examples/verify_install.py

Command-Line Interface (joltsim)

Installing JoltSim exposes the joltsim CLI entry point (joltsim.cli:main).

joltsim info

Prints the installed joltsim version (importlib.metadata.version("joltsim")), Python version, logical CPU count, built-in camera backend, and status of optional extras (gymnasium, torch, websockets).

joltsim info

joltsim studio

Launches JoltSim Studio in your browser for a bundled demo or a custom model file:

# Bundled Franka Panda + dynamic cube demo
joltsim studio

# 16-environment parallel VecWorld grid
joltsim studio --vec --num-envs 16

# Custom URDF, MJCF, or SDF file
joltsim studio --urdf path/to/robot.urdf --fixed-base
joltsim studio --mjcf path/to/model.xml --no-browser --port 8765