Skip to content

Installation

Olivier van Helden edited this page Nov 24, 2026 · 10 revisions

Debian or Ubuntu

Download the installer, then run it. The installer installs the OpenSim packages and their dependencies; setup starts only when requested.

curl -fsSL https://raw.githubusercontent.com/way4os/w4os-cli/charm-dev/kickstart.sh -o kickstart.sh
chmod +x kickstart.sh
./kickstart.sh --setup

Omit --setup to install without creating a grid or simulator yet. You can run opensim setup later. The installer requests administrator privileges when package installation requires them.

The one-command alternative installs packages only:

curl -fsSL https://raw.githubusercontent.com/way4os/w4os-cli/charm-dev/kickstart.sh | sudo bash

Install on another server over SSH

Run the downloaded installer from a local file so it can copy itself to the target:

./kickstart.sh --remote root@server --setup

The local machine needs ssh and scp; the target needs reachable SSH access and administrator privileges for package installation.

Install packages directly

If the Magiiic APT repository is already configured:

sudo apt install opensim-kit
opensim setup

opensim-kit brings the latest core and its essential modules, the command line (w4os-cli), the engine (w4os-engine), the website of a grid (w4os-site), its helpers (w4os-helpers, recommended: the economy, the search, the offline messages V1) and a database server. sudo apt install --no-install-recommends opensim-kit leaves the helpers out. For the command line and the engine alone: sudo apt install --no-install-recommends w4os-cli.

Beside an install of before the kit

On a server that has an install of before the kit (/opt/opensim), the installer stops and asks for a choice: nothing runs beside it silently.

  • --in-place: its grids run where they are, under the service of the kit. Its own start (its hourly cron) is set aside, renamed *.w4os-disabled (rename it back to undo), and its grid is registered in place with its simulators. Add --restart to stop its running instances and start them again under the service.
  • --migrate: its own start is set aside, and the installer gives the commands that bring its grids into the layout of the kit (sudo opensim import --robust ...). Its config and its databases are kept as they are. The folders of its data (its assets of FSAssets, its map tiles, its caches) are moved into the layout of the kit, each named in the plan, never measured first: on the same disk, at once. Add --copy-data to copy them instead and leave the old install whole. An import that fails moves them back. The grid then runs as the account of the kit.
sudo ./kickstart.sh --testing --in-place
sudo ./kickstart.sh --testing --in-place --restart

Options

  • --yes: accept installer defaults without confirmation
  • --cleanup: remove an existing OpenSim installation first; the installer asks before proceeding
  • --setup: run the setup wizard after installation
  • --dependencies: install the installer's own dependencies
  • --mariadb or --mysql: choose the SQL server to install/configure
  • --dotnet: install the .NET runtime without installing OpenSim packages
  • --opensim: install OpenSim and its management packages
  • --config FILE: prefill setup from a JSON answer file
  • --region-config FILE: stage setup from an existing Region.ini

Run ./kickstart.sh --help for the current full option and environment-variable list.

macOS

The CLI can run from a source checkout on macOS. The automated package installer currently targets Debian and Ubuntu; Homebrew installation is not yet supported.

Clone this wiki locally