Install LilRAE¶
Use this guide to install the released CLI and create a project. First complete host preparation on an approved isolated lab machine. Use pipx with a supported Python interpreter from an approved package source. Do not run lab commands or behavior tests on the developer workstation.
Install The Released Package¶
Install the CLI in its own pipx environment:
Expected result: lilrae --version prints the installed version.
If the command is unavailable, run pipx ensurepath and open a new terminal.
If Python 3.14 is missing, install it through your approved source first.
Where your policy permits pipx to fetch Python, use:
Do not install the CLI into an externally managed system Python.
Create A Lab Project¶
Create a new project directory:
Expected result: the directory contains released assets and a default aptl.json.
The wheel includes configuration, container build contexts, MCP sources, and web sources.
The environment-pack dependency supplies released scenarios.
For the desktop-seat tutorial, follow Workshop setup.
The historical reduced fixture needs separate checkout inputs.
A new project has no selected scenario identity.
Continue with Run your first lab to select TechVault and verify startup.
Keep generated .env, .mcp.json, keys, and .aptl/ artifacts private.
Do not attach them to support reports.
Upgrade¶
Upgrade the installed package:
To obtain the new release's full asset set, create a new project:
Expected result: a separate project with the new assets and no copied runtime credentials. Select its scenario before startup. Do not copy generated credentials or runtime state between projects.
Move From The aptl Command¶
Replace deprecated command names in scripts, CI jobs, and shell aliases. Keep existing configuration and state identifiers unchanged. See the command compatibility reference for the alias lifetime and notice.
Update Your Scripts¶
- Run
pipx upgrade lilrae. - Run
lilrae --versionto check the new command. - Replace command invocations of
aptlwithlilrae. - Replace
aptl-misp-suricata-syncinvocations withlilrae-misp-suricata-sync. - If you use shell completion, run
lilrae --install-completion.
Do not rename aptl.json, .aptl/, Python imports, or APTL_* settings.
Expected result: scripts use the supported command with their existing options.
Hide The Notice¶
For a script that cannot change yet, set LILRAE_SUPPRESS_APTL_DEPRECATION=1 in its environment.
Only the value 1 suppresses the notice.
Prefer updating the script instead of relying on continued alias availability.
When The Alias Is Removed¶
Replace older seat images and scripts before installing a release that removes the aliases. The planned removal target was 10.0.0, but the candidate still registers them. See command compatibility.
Move From aptl-labs To lilrae¶
Record the installed extras before removing the legacy distribution.
Both distributions install the same Python package.
Remove one before installing the other to prevent shared-file damage.
pipx upgrade aptl-labs does not migrate the distribution name.
Migrate A pipx Installation¶
If you used extras, install the matching requirement, for example "lilrae[s3]".
Expected result: pipx lists LilRAE and the new command prints its version.
Migrate A pip Virtual Environment¶
Activate the dedicated environment first. Record its extras, then replace the distribution:
python -m pip uninstall aptl-labs
python -m pip install "lilrae[s3]"
python -m pip show lilrae
python -m pip show aptl-labs
Replace [s3] with your recorded extras or omit it.
Expected result: the legacy package is absent and LilRAE is installed.
Keep Your Lab Projects¶
Retain project directories, keys, run records, and Docker volumes during package migration.
Run lilrae lab status from an existing project to check project discovery.
If its configuration uses retired topology booleans, follow configuration migration.
Roll Back¶
Remove LilRAE before reinstalling the last legacy distribution:
For a dedicated pip environment, uninstall lilrae, then install aptl-labs==7.0.0.
The legacy release provides only the aptl command.
Check compatibility with your project before starting an older runtime.
Source Install For Contributors¶
Follow the development setup for an editable installation. Use the checkout as its project; do not initialize released assets over it. Run behavior tests and lab operations only in CI or an approved isolated VM.