Cypress Binary Is Missing: npx cypress install

updated November 10, 2026

Your build finds the Cypress npm package, but stops before any test runs. From the project folder, run:

npx cypress install
npx cypress verify

The first command downloads the Cypress app for your package version. The second checks that the app can start. Then run your tests again.

No version of Cypress is installed in:

We saw this message on our machine with CI unset. The path after the colon shows where Cypress looked for this version. Run the two commands above from your project folder.

The first install skipped the download

You see Cypress in package.json, but it has never opened on this machine. Check the command that installed your packages. npm install --ignore-scripts skips the script that downloads Cypress. Setting CYPRESS_INSTALL_BINARY=0 also skips the download.

Run the two commands above. If your environment still sets CYPRESS_INSTALL_BINARY=0, unset it before running them.

CI restored only node_modules

The tests pass on your machine. On the build machine, Cypress is missing even after the cache was restored.

What restoring node_modules brings back on Linux The npm package is inside the project. It looks for the app in a separate folder outside the project. Restoring only node_modules leaves that folder empty. Restored inside the project node_modules/cypress looks for the app here Missing outside the project ~/.cache/Cypress

On Linux, the default Cypress cache is ~/.cache/Cypress. Save and restore that folder between builds. For npm packages, cache ~/.npm and run npm ci in the job.

One job installed Cypress and another runs the tests

The install log shows a successful download, but the test job reports a missing binary. Run these commands in both jobs:

npx cypress cache path
npx cypress cache list

The first prints the folder. The second lists the Cypress versions in it. If you set CYPRESS_CACHE_FOLDER, check its value in both jobs. Restore the saved folder where the test job expects it, or run npx cypress install there.

The exact error from our run

We checked Cypress 16.2.1 on macOS 15.4.1 (Apple silicon) on 10 November 2026. We installed the package with CYPRESS_INSTALL_BINARY=0. The default cache had no binary for this version. Here is the output from CI=1 npx cypress run. We replaced only the username with you.

The cypress npm package is installed, but the Cypress binary is missing.

We expected the binary to be installed here: /Users/you/Library/Caches/Cypress/16.2.1/Cypress.app/Contents/MacOS/Cypress

Reasons it may be missing:

- You're caching 'node_modules' but are not caching this path: /Users/you/Library/Caches/Cypress
- You ran 'npm install' at an earlier build step but did not persist: /Users/you/Library/Caches/Cypress

Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.

Alternatively, you can run 'cypress install' to download the binary again.

https://on.cypress.io/not-installed-ci-error

----------

Platform: darwin-arm64 (macOS - 15.4.1)
Cypress Version: 16.2.1

After installing and verifying the binary, we ran one test. It passed.

now prove it

Assert the cart badge updates

Reading is the easy part. Write the test yourself, then we break the app on purpose to check it would really catch the bug.

Solve this problem →

Learn this in full

Reading about a problem is not the same as fixing one. Pick a lecture or a practice problem and write the test yourself.

Keep reading