From 88097c013e2a69534b770c32133fabd6b39fb75b Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 30 May 2016 09:34:44 +0200 Subject: [PATCH] Fix new lines --- ...alling-node-js-and-npm-on-ubuntu-debian.md | 79 +++++++++---------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/content/posts/2011-10-24-installing-node-js-and-npm-on-ubuntu-debian.md b/content/posts/2011-10-24-installing-node-js-and-npm-on-ubuntu-debian.md index 48d3d7f..d9aa458 100644 --- a/content/posts/2011-10-24-installing-node-js-and-npm-on-ubuntu-debian.md +++ b/content/posts/2011-10-24-installing-node-js-and-npm-on-ubuntu-debian.md @@ -4,45 +4,44 @@ title = "Installing Node.js and NPM on Ubuntu/Debian" tags = ["Linux", "Ubuntu", "debian", "nodejs", "devops", "node", "npm"] slug = "installing-node-js-and-npm-on-ubuntu-debian" +++ -This is just short snippet on how to install Node.js (any version) and NPM (Node Package Manager) on your Ubuntu/Debian system. - -**Step 1 - Update your system** - - sudo apt-get update - sudo apt-get install git-core curl build-essential openssl libssl-dev - -**Step 2 - Install Node.js** - -First, clone the Node.js repository: - - git clone https://github.com/joyent/node.git - cd node - -Now, if you require a specific version of Node: - - git tag # Gives you a list of released versions - git checkout v0.4.12 - -Then compile and install Node like this: - - ./configure - make - sudo make install - -Then, check if node was installed correctly: - - node -v - -** Step 3 - Install NPM** - -Simply run the NPM install script: - - curl https://npmjs.org/install.sh | sudo sh - -And then check it works: - - npm -v - -That's all. +This is just short snippet on how to install Node.js (any version) and NPM (Node Package Manager) on your Ubuntu/Debian system. +**Step 1 - Update your system** + + sudo apt-get update + sudo apt-get install git-core curl build-essential openssl libssl-dev + +**Step 2 - Install Node.js** + +First, clone the Node.js repository: + + git clone https://github.com/joyent/node.git + cd node + +Now, if you require a specific version of Node: + + git tag # Gives you a list of released versions + git checkout v0.4.12 + +Then compile and install Node like this: + + ./configure + make + sudo make install + +Then, check if node was installed correctly: + + node -v + +** Step 3 - Install NPM** + +Simply run the NPM install script: + + curl https://npmjs.org/install.sh | sudo sh + +And then check it works: + + npm -v + +That's all.