Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I know the version of node being used by my meteor app?

Tags:

I have installed meteor under linux, and I don't really know which version of node.js meteor is using.

like image 222
gztomas Avatar asked Aug 18 '12 00:08

gztomas


People also ask

Does meteor use node js?

Meteor is a framework built ontop of node. js. It uses node. js to deploy but has several differences.

What version of node is current?

js v18 is the Current version! Node. js 18 will be the 'Current' release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022. Node.


1 Answers

Answer for MacOS and Meteor > v1.1

The node binary resides in the dev_bundle of the meteor-tool:

~/.meteor/packages/meteor-tool/1.1.3/mt-os.osx.x86_64/dev_bundle/bin

$ cd ~/.meteor/packages/meteor-tool/1.1.3/mt-os.osx.x86_64/dev_bundle/bin $ ./node -v v0.10.36 

Note: The meteor-tool version does not match the version of Meteor, but in 99% of the cases you can assume that the latest version is used for your current Meteor.

At least in Meteor >= 1.5 you can also directly access the NodeJS bundled with Meteor and find out the version:

meteor node -v 

Credits to Mickael for pointing that out.

like image 129
Peter Ilfrich Avatar answered Oct 14 '22 23:10

Peter Ilfrich