I would like to know how can I run nodeJS express from usb drive on a Linux/gentoo configuration ?
the issues here is, having nodejs portable. it's not recommended at all, it's your runtime environment part. however, if you trying to use portable vscode, it will works just fine, it is the same as, you are using any other portable text editor, such as notepad++.
You can Run your JavaScript File from your Terminal only if you have installed NodeJs runtime. If you have Installed it then Simply open the terminal and type “node FileName. js”. If you don't have NodeJs runtime environment then go to NodeJs Runtime Environment Download and Download it.
You can move the node.exe to the d drive. Then check your environment path. Type set in a command window or in computer properties. Make sure you have the folder that contains node.exe in your path.
The only requirement is to download a portable version of node.js, may need to tweak mounting permissions.
The distributables are located here.
All your modules need to be installed locally.
You can download NodeJs Portable on sourceforge here : NodeJS Portable : http://sourceforge.net/projects/nodejsportable/files/latest/download
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With