question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Download node through command prompt using curl??

See original GitHub issue

Would it be possible to download node using a CURL request instead of openning the browser? I tried it using the command prompt and it worked perfectly so I suppose it would work in node too. I used the followind command to download node: curl https://nodejs.org/dist/v9.11.1/node-v9.11.1-x64.msi > node-v9.11.1-x64.msi

I think the code process would be like following: Download node using curl. Once it’s downloaded run the installer. Wait for the node installer process to be ended. Check if node has been correctly installed. And then…

It’s just a suggestion, I don’t really know how it’s working actually and I don’t even know if it would be possible. I thought maybe it could be helpful… and maybe not… i don’t know.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
elie-gcommented, Apr 21, 2018

apt-get works on the terminal of my android phone so I suppose it would work on linux and mac screenshot_20180421-153354

0reactions
rauenzicommented, Mar 27, 2019

I think this is safe to close as we’ve gone in a much more realistic direction for the installation process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Install Node.js and npm on Windows, macOS, and Linux
With Node.js, you can finally build web applications with two-way ... As you already have the curl command line installed on your terminal, ......
Read more >
Installing Node.js via package manager
Download the macOS Installer directly from the nodejs.org web site. If you want to download the package with bash: curl "https://nodejs.org/dist/latest/node-${ ...
Read more >
Installation of Node.js on Linux - GeeksforGeeks
Step 1: Open your terminal or press Ctrl + Alt + T. terminal · Step 2: To install node.js use the following command:...
Read more >
How To Install NodeJS On Linux - OSTechNix
In this tutorial, we will see how to install Nodejs on Linux operating systems such as Arch Linux, Debian, Ubuntu, RHEL, CentOS, Fedora...
Read more >
Install Node and npm on Linux/OS X/Windows w/o sudo · GitHub
We will use curl which is one of my favourites acronyms (because it is recursive for curl URL Request Library ). We can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found