Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install Puppeteer Core with npm i puppeteer-core, then provide a browser yourself. Unlike the full puppeteer package, Core does not download Chrome. Your launch code must identify a compatible browser with either executablePath or channel, unless you connect to a remote DevTools endpoint.

What Puppeteer Core installs—and what it does not

Puppeteer Core is the lower-level Node.js library for driving a browser-compatible Chrome DevTools Protocol endpoint. Installing the package adds the library to your project, but it does not fetch Chrome for Testing, a system Chrome installation, or any other browser binary.

The full puppeteer package is intended as the more convenient end-user product: it downloads a browser revision and uses Core underneath. Choose Core when browser provisioning is handled separately—for example, by your operating-system image, a container build, a managed browser service, or a remote browser endpoint.

Check prerequisites before installing

Verify Node.js and the package manager

The current Puppeteer system-requirements documentation lists Node.js 22.12 or newer for the release represented by that documentation. Requirements can change between releases, so check the requirements for the version you plan to install before upgrading a production project.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
node --version
npm --version

Use the package manager already used by the repository so that its lockfile remains authoritative. The equivalent commands are:

# npm
npm i puppeteer-core

# Yarn
yarn add puppeteer-core

# pnpm
pnpm add puppeteer-core

# Bun
bun add puppeteer-core

Start in the project directory

Run the command from the directory containing your package.json. If no package exists yet, initialize one first:

mkdir my-puppeteer-app
cd my-puppeteer-app
npm init -y
npm i puppeteer-core

After installation, confirm that puppeteer-core appears in dependencies and that your lockfile was updated. The package installation and browser installation are separate operations.

Install or provide a browser

Core needs a browser endpoint to control. You can use a locally managed Chrome installation, a browser installed by Puppeteer’s browser tooling, or a remote DevTools connection.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Option 1: Install Chrome for Testing with Puppeteer tooling

The documented browser tooling command installs the stable Chrome for Testing build separately from the Node package:

npx @puppeteer/browsers install chrome@stable

On Debian or Ubuntu, the documentation also describes a command that installs Chrome and required system dependencies:

sudo npx puppeteer browsers install chrome --install-deps

The dependency-installation variant requires root privileges. Linux images may still need additional fonts, libraries, sandbox configuration, or display settings depending on how the browser will run. Keep browser provisioning in your image or deployment script rather than assuming npm install handles it.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

Option 2: Use Chrome already installed on the machine

If Chrome is in a standard installation location, launch with a channel name. This avoids hard-coding a platform-specific path:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.launch({ channel: 'chrome' });
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle2' });
console.log(await page.title());
await browser.close();

Use the channel that matches the browser you installed, such as chrome where supported by your environment. A channel depends on a recognizable standard installation; if the executable is in a custom location, use an explicit path instead.

Option 3: Point to an explicit executable

For a custom installation, container image, or CI runner, pass the full browser binary path:

import puppeteer from 'puppeteer-core';

const browser = await puppeteer.launch({
  executablePath: '/absolute/path/to/chrome',
  headless: true
});

try {
  const page = await browser.newPage();
  await page.goto('https://example.com', { waitUntil: 'domcontentloaded' });
  console.log(await page.title());
} finally {
  await browser.close();
}

Replace the example path with the path that exists in your operating system or container. Do not leave a relative path that only works from one working directory.

Option 4: Connect to a remote browser

Core is also suitable when another service starts Chrome and exposes a DevTools Protocol endpoint. In that case, connect instead of launching a local binary:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.connect({
  browserWSEndpoint: process.env.BROWSER_WS_ENDPOINT
});

try {
  const pages = await browser.pages();
  console.log(`Connected to ${pages.length} page(s)`);
} finally {
  await browser.disconnect();
}

Use disconnect() for a browser owned by another service. Calling close() is appropriate only when your process launched and owns the browser.

A complete minimal project

Set your project to use ES modules (or adapt the import to your existing module system), then create index.mjs:

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
import puppeteer from 'puppeteer-core';

const launchOptions = process.env.CHROME_PATH
  ? { executablePath: process.env.CHROME_PATH, headless: true }
  : { channel: 'chrome', headless: true };

const browser = await puppeteer.launch(launchOptions);
try {
  const page = await browser.newPage();
  await page.setViewport({ width: 1440, height: 900, deviceScaleFactor: 1 });
  await page.goto('https://example.com', {
    waitUntil: 'networkidle2',
    timeout: 30_000
  });
  console.log({
    title: await page.title(),
    url: page.url()
  });
} finally {
  await browser.close();
}
node index.mjs

This example chooses an explicit path when CHROME_PATH is set and otherwise asks Puppeteer to locate a standard Chrome channel. It closes the browser even if navigation or page code throws.

Match Puppeteer Core to the browser

Puppeteer’s API reference states that, with puppeteer-core, options.executablePath or options.channel must be supplied when launching. It also warns that Puppeteer is guaranteed only with its supported browser revision; arbitrary system browser versions are not automatically guaranteed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before pinning an image or upgrading the package, consult the official supported-browser mapping for the exact Puppeteer release. The documentation snapshot associated with this guide lists Puppeteer 25.12.0 with Chrome for Testing 154.0.8037.57 and Firefox 156.0.1. Those values are a dated compatibility snapshot, not permanent installation requirements. Treat the mapping as the source of truth for your selected release.

Common installation and launch problems

“Cannot find module puppeteer-core”

Cause: The command ran in a different directory, or the dependency was not added to the project that executes the script.

Fix: Run npm i puppeteer-core beside the correct package.json, then execute the script from that project. Check with npm ls puppeteer-core.

“An executablePath or channel must be specified”

Cause: Core was launched without a browser-selection option.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix: Add executablePath pointing to an existing binary or use channel for a standard Chrome installation. If a service owns the browser, use connect() with its DevTools endpoint.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

The executable path does not exist or is not executable

Cause: The path is wrong for the current operating system, container, user, or architecture.

Fix: Resolve the path inside the same environment where Node runs, verify file permissions, and avoid copying a host path into a container. Print the path from the environment variable before launching.

Browser revision or protocol errors

Cause: The browser and Puppeteer release are outside the documented compatibility pairing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix: Check the supported-browser mapping, then pin compatible versions in your package and image. Upgrade both deliberately rather than updating only the system browser.

Chrome fails in Linux CI

Cause: Missing shared libraries, fonts, sandbox permissions, or a restricted container.

Fix: Use the documented Debian/Ubuntu dependency installation where applicable, build those dependencies into the image, and review your CI container’s sandbox policy. Do not assume the local desktop setup matches CI.

Navigation times out

Cause: The target is slow, blocked, waiting on never-ending resources, or inaccessible from the runner.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

Fix: Set an intentional timeout, choose a suitable waitUntil condition, log the URL and error, and verify network access from the same machine. A longer timeout does not repair a missing browser or an unreachable site.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Operational guidance for reliable automation

  • Pin puppeteer-core and the browser image together when reproducibility matters.
  • Keep browser provisioning in deployment automation and document the expected executable path.
  • Close pages and browsers in finally blocks to prevent leaked processes.
  • Use a remote connection when browser lifecycle, scaling, or isolation is managed by another service.
  • Record the Puppeteer version, browser version, launch mode, and target URL in failure logs.
  • Expect the first launch to be slower than subsequent pages; reuse a browser for related work while isolating untrusted jobs appropriately.

Or skip the browser setup

If your goal is simply to obtain website screenshots, ScreenshotNeo provides a one-request alternative without maintaining Chrome locally. Its API accepts the URL and returns PNG, JPEG, WebP, or PDF output.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for request options. Cookie and consent banners, newsletter popups, and chat widgets are removed before the shot. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and whether it was billed. ScreenshotNeo also offers an MCP server with take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.

FAQ

Frequently Asked Questions

Does installing Puppeteer Core install Chrome?

No. It installs the Node library only. Install or provide a browser separately, or connect to a remote DevTools endpoint.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I use Puppeteer Core with an existing Chrome installation?

Yes. Use a supported channel for a standard installation or set executablePath to the binary.

Should I choose puppeteer or puppeteer-core?

Choose puppeteer when you want the package to manage its browser download. Choose Core when you manage the browser or connect remotely.

The Bottom Line

Install puppeteer-core with your project’s package manager, provision a compatible browser separately, and launch it with executablePath or channel—or connect to a remote browser.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.