Skip to content
Advertisement

Trouble finding Jest on Windows

I recently started off with some project over JavaScript, following some documentation. I am supposed to be using Jest for testing purposes.

The installation of Jest seems pretty straightforward on Linux using npm:

sudo npm install -g jest

However, I am on Windows, and unable to find Jest over lets using NuGet.

How can I retrieve Jest package over Windows?

Advertisement

Answer

NPM is bundled with the windows nodejs installer so you should already have it and be able to install jest the same way. (just drop the sudo prefix in a windows terminal)

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement