You also want to install browsers so framework can run tests against them (chromium will do for our examples)
npx playwright install --with-deps chromium
Start by downloading the required packages
npm install
Then you can run the tests
npm run test