Documentation · Chapter 15

Run, test, update, and clean projects.

Daily commands should be predictable, scriptable, bilingual, and safe. Destructive or network operations remain explicit.

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

LESSON OBJECTIVE

What you will be able to do

Operate serve, run, test, update, and cache commands with clear expectations about side effects.

Serve and run

serve starts the development server and clean console; --verbose exposes connections. run executes Console with remaining arguments.

phpaml — zsh
aml serve --verbose
aml test
aml update --check
aml cache:clear

Test and update

test uses the managed PHP environment. update --check observes; update installs an explicit or latest eligible CLI version.

Clear generated state carefully

cache:clear removes generated caches, not business data. Always inspect the named target before cleaning.

CHECKPOINT

Before you continue

Which commands only observe, which write locally, and which may contact or modify an external system?