docker run --rm -v "$PWD":/app -w /app node:20 npm ci
Run Node tooling against the current directory
Mounts the current directory into /app, sets it as the workdir, and runs npm ci inside Node 20. The quoted $PWD avoids path issues. --rm cleans the container up after the command finishes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.