How to run NodeJS?
So, you've said that it's full Linux environment and we can even run NodeJS on it. It turned out that I can not install a lot of libraries to run it because there is no apt-get command. I've tried to install npm via opkg but failed. What did I wrong?
Steve Fister last edited by
@Vitalii-Korsakov Well, it's not a full-stack Linux environment. However, you can run Node.js on the Onion using the command:
opkg install nodejs
Note, this version it will install is v0.10.5. The V8 engine is still unsupported in this architecture.
As far as getting node packages installed, it is best to install them on your host system (I run a Mac) and then copy them over to the Onion. My approach to this is to perform the install via NPM, zip the entire directory up and upload it to Dropdox. From there, I can perform a WGET on the Onion to retrieve the zip file.