install node.js on ubuntu desktop
There are two ways you can install node.js on your ubuntu desktop.[ebs_panel style=”panel-info”] [ebs_panel-header] [ebs_icon type=”glyphicon glyphicon-info-sign” color=”#1e73be”] Update 23rd December 2015
[/ebs_panel-header] [ebs_panel-content] All the methods below are still valid to a certain extent. However, my prefered choice these days is to install Node.js via the Node Version Manager (NVM). There are a number benefits to using the NVM on your development machine.
Check out Install Node.js via Node Version Manager on ubuntu
The method below is the approach that is mostly described in a couple of the books available on node.js.
sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs npm
However there seems to be a newer update to method which requires curl.
curl – A tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
sudo apt-get install curl curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install -y nodejs[ebs_panel style=”panel-info”] [ebs_panel-header] [ebs_icon type=”glyphicon glyphicon-info-sign” color=”#1e73be”] Update
[/ebs_panel-header] [ebs_panel-content] I created a bash script to make this easier to install [wpdm_package id=’5787′] [/ebs_panel-content] [ebs_panel-footer] [ebs_icon type=”glyphicon glyphicon-question-sign” color=”#1e73be”] How to execute BASH Scripts
Learn more[ebs_button style=”btn-info btn-lg btn-block” icon=”glyphicon glyphicon-info-sign” align=”left” type=”link” target=”true” title=”install mean.js on ubuntu” link=”https://garywoodfine.com/install-mean-js-ubuntu/”]
A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.
Latest posts by Gary Woodfine (see all)
- Making API calls with HttpClientFactory in Console applications - April 16, 2019
- Product Review: System76 Darter Pro - April 12, 2019
- Disrupting the disruptors - April 10, 2019