Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • 4 step guide to open Node.js command prompt in Ubuntu

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 2.35k
    Comment on it

    In the previous article, one of my colleagues has shared 6 easy steps to install Node.js on Linux Ubuntu. I’ll take a step forward and explain in a straightforward way to open a Node.js command prompt in Ubuntu. We will use Ubuntu “Advanced Packaging Tool” APT to install.

     

    Source : http://stackabuse.com

     

    Let’s proceed,

    Step 1) Update the APT:

    Update the APT to avail it’s latest version by using the following command.

    sudo apt-get update

     

    Step 2)   Before installing Node.js check dependencies which will be needed:

    Check  C compiler: 

    • To check type -
    cc --version 
    • If not installed type -
     sudo get-apt install g++

    Check  Python:

    • To check type –
    python
    • If not installed type –
     sudo get-apt install python-software-properties.

     

    Step 3)  To install Nodejs:

    sudo get-apt install nodejs

     

    Step 4)    After Nodejs installed  check nodejs on terminal

    • To check
    nodejs

     

    press enter, If below sign shows then nodejs cmd have started.

    <

     

    If you like the article, please share it across the social media channels. For any comments, suggestions or brickbats, feel free to use the comments section below.

    4 step guide to open Node.js command prompt in Ubuntu

 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: