5/28/2023 0 Comments Nvm linuxThat could lead to a number of security risks so I really would not recommend doing this and this is definitely not the way that we're going to do it. Just know essentially what they're saying to do is to allow this url to have root access to your entire system and so if this node source site were to get hacked so even if they didn't do it on purpose but imagine that they got hacked and you ran this command you could be giving those hackers access to your system.Īnd giving access to your virtual box is bad enough but imagine that you follow these same steps when it's time for you to install node on one of your company's servers. Now if everything I just said sounds like a foreign language, don't worry when you don't need to know the ins and outs of everything right here. And so they're saying to call curl with this url and then to sudo this with the bash. What this individual said to do was to call curl which curl is a command that you use whenever you want to pull in data from an outside url from the command line. And so that is why it's very important to follow along and especially because interestingly enough the accepted answer and by far the most popular one is something that's quite dangerous from a security perspective. So this is not as simple as you may think. Now if you go to the ask Ubuntu forum on this and if you ask how to install the latest version of nodejs and npm you will get an incredible flame throw type war on what is the right way and the wrong way to install node on a Linux system. ![]() ![]() ![]() But there are a few more steps with Linux and so that's what we are going to walk through in this guide. Now you may think that in order to install node that you simply have to come here to the nodejs site and click download.Īnd if you're on a Windows machine then you would be able to do that.
0 Comments
Leave a Reply. |