node.js version
Hello
I'd like to know how to get the version of nodejs used in Max 8.1. Correct me if I'm wrong but this is a different version from the one installed in my system (osx 10.13).
Thanks
you should be able to just call process.version
in your script. Something like:
Max.addHandler("node_version", () => {
Max.outlet(process.version);
});
Thanks, is it possible to change the version? let's say I want to use 8.13.0 like the one on my system?
I tried installing n but I can't make it work with "script n 8.13.0".
yes, you can use custom Node and NPM binaries: