Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js supported operating systems

Tags:

node.js

Is there an official statement about the exact operating systems the Node.js is supported for? The only one that i can find is this one but for Windows at least it lists only two versions (Windows 2008R2/Windows 2012 for 64 bit). As far as i know, Node.js runs on many more Windows versions (7,8,10 ...). Any idea why the official statement does not include them?

like image 943
user3651902 Avatar asked Nov 29 '16 14:11

user3651902


People also ask

Which operating system can NodeJS run in?

Node. js is officially supported on Linux, macOS and Microsoft Windows 8.1 and Server 2012 (and later), with tier 2 support for SmartOS and IBM AIX and experimental support for FreeBSD. OpenBSD also works, and LTS versions available for IBM i (AS/400).

Which OS is better for NodeJS?

Looking at node's manual, it seems like Unix-based environments are what's best for node. This includes linux, and mac, which had came a long way and is in the process of pampering the crap out of traditional terminal hardcores with stuff like homebrew. Windows on the other hand is the worst environment for node.

Is NodeJS available for Windows 7?

JS. you can refer to old version of Node. JS here, you can also download this one, which is tested and working fine with Win7( win7 Ultimate v6. 1 SP1).

CAN NodeJS run on Windows 8?

user interface - Node. js Installing Error "The Application is only supported on windows 8.1, windows server 2012 R2, or Higher" - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.


3 Answers

A year ago (in November 2015) there was a discussion on GitHub to drop support of Windows XP and Vista. See:

  • Issue #3804: Drop Windows XP (and Vista) support in 6.0

See also a notes from the meeting where that was discussed:

  • Issue #4901: Node.js Foundation Core Technical Committee (CTC) Meeting 2016-01-27

Finally, the commit named "win: prevent node from running on Windows Vista or earlier" has added this code to Node:

if (!IsWindows7OrGreater()) {
  fprintf(stderr, "This application is only supported on Windows 7, "
                  "Windows Server 2008 R2, or higher.");
  exit(1);
}

This commit landed in Node 6.0.0, see the announcement:

Windows XP and Vista are no longer supported #5167.

So from now on, that's official:

Node is only supported on Windows 7, Windows Server 2008 R2, or higher.

But as you can see on https://nodejs.org/en/download/ both 32 and 64-bit versions are available.

like image 53
rsp Avatar answered Oct 09 '22 12:10

rsp


As of Node 14, the minimum versions are Windows 8.1, Server 2012 R2, but a patch to check an environment variable NODE_SKIP_PLATFORM_CHECK=1 was just added, and should arrive in new versions soon.

like image 43
Simon Buchan Avatar answered Oct 09 '22 13:10

Simon Buchan


Windows 7 reached its EOL and no longer support it. The last Node version tested on Win7 is 13.6.0.

There are actually 2 PRs with alternatives to making Windows 7 an available but minimally supported platform. One uses a mutable warning that will be posted to all applications that run the Node.js binary, and the other requires an environment variable is set to enable using deprecated Windows operating systems.

For now, you can use the latest v13.13.0 while we wait to see what happens.

Node JS - 13.13.0 - https://nodejs.org/dist/

like image 24
Surya R Praveen Avatar answered Oct 09 '22 13:10

Surya R Praveen