npx playwright install --with-deps chromium

Category: Web App Development

npx playwright install --with-deps chromium

Install Chromium plus its system dependencies

Installs Chromium and uses apt to fetch the operating system libraries it requires, handy on fresh CI images and containers. The --with-deps flag needs sudo on some setups. Run it once per machine or CI image.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.