Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Discussion on Nodejs

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 252
    Comment on it

    Welcome to FindNerd. Today we are going to discuss nodejs. If you start the learning of nodejs then it can create little bit confusion for you. First question should be raised that what is nodejs? Nodejs is nothing but runtime environment for server side web based applications development. It is an open source as well as cross plateform. Cross plateform means it is able to run on different types of computers and operating system. Nodejs can be run on Windows, Linux, Mac OS and many more. If you want to install nodejs on your server that you can choose the setup according to your operating system. You can install nodejs on your server with three different ways.

    A) Through Binaries

    B) Through version manager

    C) Through Compiling

     

    A) Through binaries : It is easy way to install the nodejs because it is wizard based installation. If you have installed  softwares on your PC then it should not be a big deal for you. You need to simply flow the steps with default settings but there are few disadvantages to choose this method. In this it is not easy to switch between different versions of nodejs. If you want to install latest or higher version then you have to flow the same steps again. If you are using windows then you can easily install the nodejs using binaries.

     

    B) Through version manager : It is recommended way for Linux users. You should have a good command on Linux commands to install the nodejs using this method. You can simply switch between different versions on nodejs. Here we will choose this method to install the nodejs.

     

    C) Through Compiling : You can simply download the latest version of nodejs from github and with this method you have to use the latest version which can be unstable.

     

    Install using version manager

    A) Open your Terminal

    B) You paste below command to install the version manager

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash

    Make sure you have install the curl as well as github on your server

    C) Now close the terminal, reopen it and paste the below command

    nvm

    It will show the messages that nvm is available

    D) Now it is time to install the nodejs using below command.

    nvm install 0.10

    Now you can test the node by typing the command

    node

    After that you will get the area where you can test the basic javascript functions like console.log.

    console.log('Nodejs with FindNerd');

    It will return the above string as well as undefined.

     

    Thank you for being with us!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: