08
A five-step installation and verification path
Step 1: Classify the change before installing
Write down whether the goal is basic Web UI testing, plugin installation, external plugin development, core modification, or team delivery. If the answer is unclear, start with npm and avoid creating a source workspace until the published runtime blocks progress.
Step 2: Inspect the current official prerequisites
For the npm path, install a Node.js version accepted by the current package and confirm the package metadata before deployment. For source work, inspect the repository engines and packageManager declarations, then enable Corepack if pnpm is not available through it. The current repository state identifies the required runtime and package manager values; verify them again before each fresh build.
Step 3: Run a clean baseline
Use the official npm launcher:
Record the command, directory, Node.js version, package resolution, and displayed Web UI address. Open the interface, configure the model, choose the intended workspace, and run one fixed task. The official user guide recommends beginning with a repository summary task after selecting a workspace. (official user guide acceptance flow)
Step 4: Add one variable at a time
If a plugin is required, add it only after the baseline works. If a source build is required, create a separate directory or machine. Do not change the runtime, plugin set, workspace, and model configuration in the same test because a failure will not identify its cause.
Step 5: Prove rebuild and rollback
For npm, rebuild the environment from the recorded Node.js version, package version, launch directory, and configuration source. For source, clone the recorded commit, install with the recorded pnpm version, run the build, and run the required type checks. Then restore the previous package or commit and run the same acceptance task again.
A deployment is not repeatable until the second environment produces the same task class and expected artifact. A successful first launch is only an installation result.