Documentation · Chapter 15

Install, inspect, and repair environments.

install reconstructs runtime and dependencies. doctor inspects the machine and project, explaining what is wrong before suggesting a repair.

Every lesson starts from the problem, explains the mechanism, then gives a concrete verification.

LESSON OBJECTIVE

What you will be able to do

Rebuild dependencies and diagnose environment failures without modifying application source as a workaround.

runtime is reconstructible

Deleting runtime removes dependencies, not application source. aml install reconstructs it from manifests and locks.

phpaml — zsh
aml install
aml doctor
aml doctor --production --json

doctor gathers proof

doctor checks PHP, extensions, manifests, runtime, writable paths, ports, database, and production configuration. --json supports automation.

Offline mode uses verified cache

Offline operations accept only cached artifacts whose integrity is known. Missing cache should fail clearly rather than producing a partial project.

CHECKPOINT

Before you continue

Can runtime be removed and rebuilt while every source checksum stays identical?