For more portable applications, checkout Portapps !
Read this in other languages: English, ็ฎไฝไธญๆ.
A single EXE written in Go to make Node.js portable on Windows systems.
Tested on Windows 7, Windows 8.1 and Windows 10.
Main window of Node.js Portable
Configuration file nodejs-portable.conf
is generated at first launch:
- Download the latest release.
- Put
nodejs-portable.exe
in a new empty folder.
Run nodejs-portable.exe
, then choose task:
- 1 to install node.js by entering version and architecture.
- 2 to launch Node.js shell.
If you have already installed Node.js, create a folder named
app
and put your node.js environment inside, then launchnodejs-portable.exe
. (See #35)
workPath
: Shell working dir (can be relative tonodejs-portable.exe
).customPaths
: Array of custom paths that will be placed in thePATH
environment variable (paths can be relative tonodejs-portable.exe
).immediateMode
: Set this totrue
if you want to use node shell immediately.shell
: Shell to be used. Can becmd
(default) orpowershell
.
If an exception happened, take a look into
nodejs-portable.log
for further information.
Node.js Portable can be used through the command line to inject arguments directly to node:
$ nodejs-portable.exe --version
v9.5.0
Take a look into
nodejs-portable.log
if you have any issue.
- Install Go 1.12+
- Add Go to your PATH (ex.
C:\Go\bin
) - Install latest version of Mage
- Add Mage to your PATH
- Clone this repository
- Run
mage build
inside. The artifact will be available inbin
All kinds of contributions are welcome ๐! The most basic way to show your support is to star ๐ the project, or to raise issues ๐ฌ You can also support this project by becoming a sponsor on GitHub ๐ or by making a Paypal donation to ensure this journey continues indefinitely! ๐
Thanks again for your support, it is much appreciated! ๐
MIT. See LICENSE
for more details.
USB icon credit to Dakirby309.