install

install is the only module installer and remover. It resolves a release compatible with the current lil.core generation, installs hard dependencies first, validates downloaded PHP and writes the extension file atomically. Version discovery and replacement of an existing module belong to upgrade.

SystemVersion 1.4.5Stable
lil-terminal

Overview

Use install for deterministic module placement: choose Base or Minimum, pin an exact compatible release, inspect dependencies, select another extension file or repository deliberately, and leave version upgrades to upgrade.

Installation and upgrading are different operations

Use install to add or remove modules and to choose Base, Minimum, an exact release or another repository. Once a module is installed, version replacement and dependency repair belong to upgrade.

Syntax

lil-terminal
install [mod ...] [repo] [options]

Reference

install

run setup.lil (when present)

install <mod>

install a package from the lil-repository

install <mod ...>

install several packages (space-separated)

install <mod> <repo>

install a package from another repository

-v <ver>

select an exact version compatible with this core generation

-m

select the Minimum package (when published for this version)

-i

show package and dependency information

-l

list installed modules, versions and packages

-f <file>

use another extension file for this operation

-ext <file> | -ext -

select another extension file | restore the default

-g @upgrade

upgrade or repair through the optional @upgrade module

-u

remove one or more extension modules

uninstall <mod ...>

alias for @install <mod ...> -u

Packages

Base is the complete current functionality. Minimum is available only when the module publishes a functional minimum package. The package choice is stored in the installation marker and is preserved by upgrade.

Dependencies

Hard dependencies are read from compatibility metadata and installed recursively before the requested module. Cycles stop installation. A dependency cannot be removed while an installed module declares it. Optional feature links are shown as @module in server help and do not install anything silently.

Compatibility

The repository must publish .version.txt and .compat.json for every release. Both latest and exact -v requests are checked against LIL_CORE_MAJOR. A lil.core.v1 installation cannot load a release published only for a later generation.

Writing and validation

Downloaded files are size-limited. PHP source is normalized, compacted, parsed as a trait snippet, checked for the expected command method and checked for conflicts. The new extension is written through a temporary file and atomic rename. Numbered repository versions are immutable.

Responsibility boundary

install installs or removes. upgrade checks versions, replaces existing module blocks and repairs installed dependencies. install is called by upgrade only when a required dependency is completely absent.

Secondary commands

Documented secondary names resolve to their owning module: download upload, patch diff, coo ses, read echo and mariadb mysql. They share the owner module release stream.

Automatic interactive installation

The current Base lil-core can invoke Installer through the @command prefix. This path is intentionally narrower than an explicit install: it resolves the command's canonical owner, uses only the default lil-repository, selects the current public Base release, suppresses the installation report and resumes the original interactive command. It does not select Minimum, development versions or custom repositories. Explicit install remains the interface for those choices.

Bulk module operations

install dns pwd del installs each named Base module in order. Commas and semicolons are accepted as name separators as well. uninstall dns pwd del removes each module independently and reports every result, so one failure does not hide the status of the remaining items. Options that describe a single module, repository or file stay in the ordinary single-module form.

Repository sources

The <repo> argument may point to another HTTPS repository or to a local directory with the same repository layout. Local sources are useful for controlled testing; the lil-repository remains the default.

Dependency reports

When a requested module installs or refreshes a hard dependency first, the dependency report and the requested-module report are separated by a blank line. Bulk install and uninstall likewise keep every module result as its own visual block.

Interactive sandbox preview

Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.

Install several packages (space-separated)

Install and manage

Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.

Base and Minimum are two packages of the same current module release, not separate command versions.

Base package

Install the complete package with local command reference and every published mode.

install install
Minimum package

Install the reduced package. Local reference is omitted; help <cmd> -i opens the current server reference.

install install -m
Exact public version

Install exactly this published version.

install install -v 1.4.5
Remove module

Remove the extension block while leaving the core and unrelated modules intact.

install install -u

Examples

Examples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.

Install several packages (space-separated)
install pwd find dns | cd \sandbox | pwd -s | find "error" -t -f -p logs
Built-in pwd

Installed find, v1.7 (base)
    repo.lil.dog > .lil.php

Installed dns, v1.8 (base)
    repo.lil.dog > .lil.php

\sandbox\logs\errors.log
Run setup.lil (when present)
install
setup.lil not found
Install a package from the lil-repository
install upgrade
Installed upgrade, v1.12 (base)
    repo.lil.dog > .lil.php
Install several packages (space-separated)
install dns pwd del
Installed dns, v1.8 (base)

Built-in pwd

Installed del, v1.7 (base)
Install several packages (space-separated)
install dns,pwd;del
Installed dns, v1.8 (base)

Built-in pwd

Installed del, v1.7 (base)
Install a package from the lil-repository
install code
Installed include, v1.18 (base)

Installed code, v1.14 (base)

Interface package  code 1.0
Select the Minimum package (when published for this version)
install code -m
Installed code, v1.14 (minimum)
Interface package  not requested
Show package and dependency information
install code -i
Module       code
Version      1.14
Base         yes
Minimum      yes
Dependency   include >= 1.16
UI package   code 1.0
Select an exact version compatible with this core generation
install ping -v 1.2.4
Installed ping, v1.10 (base)
    repo.lil.dog > .lil.php
Install a package from another repository
install ping https://mirror.example.net/lil
Installed ping, v1.11 (base)
    mirror.example.net > .lil.php
Use another extension file for this operation
install ping -f \sandbox\tmp\extensions.php
Installed ping, v1.11 (base)
    repo.lil.dog > \sandbox\tmp\extensions.php
Select another extension file | restore the default
install -ext \sandbox\tmp\extensions.php | install -ext -
Ext  \sandbox\tmp\extensions.php

Ext  .lil.php
List installed modules, versions and packages
install -l
code     v1.14 · base
find     v1.7 · base
help     v1.42 · base
install  v1.39 · base
upgrade  v1.12 · base
Remove one or more extension modules
install dns -u
Removed dns

uninstall routes to install <module> -u; removal remains owned by the Installer rather than a second package manager.

Remove one or more extension modules
uninstall dns pwd del
Removed dns

pwd: built-in command cannot be uninstalled

Removed del

uninstall routes to install <module> -u; removal remains owned by the Installer rather than a second package manager.

Install · @dns
@dns google.com
A     142.250.72.14
AAAA  2607:f8b0:4007:80e::200e
MX    10 smtp.google.com
NS    ns1.google.com
TXT   …
Install a package from the lil-repository
install missing_module
missing_module: no version compatible with lil.core.v1

Related documentation

Current public release

v1.4.52026-08-11

Language synchronization

Finalizes Local and Server Help synchronization and localization safety for install.