How to Install nodejs in termux

Learn How to install nodejs in termux
1 min read

Node.js is a powerful JavaScript runtime built on Chrome's V8 JavaScript engine. It allows you to run JavaScript on the server side, which can be used to create many applications, from simple command-line tools to complex web applications. This blog post will show you how to install Node.js on your Android device using Termux.

NodeJs in termux

You can install nodejs and npm in termux and build javascript applications. You can install express js, build web applications, build telegram bots and so on.

Install node js termux

To install Node.js on Termux, follow these steps:

1. First, open the Termux app on your Android device and update the package manager with the following command:

pkg update && pkg upgrade -y

2. Type the below command to install nodejs

 pkg install nodejs

3. After successful installation, you confirm and can check its version by typing the below command

node -v
Nodejs

4. To run Node.js files/scripts, you can follow 

node script.js

where the script is the starting point of the app or a js file

npm will be automatically installed with node.js, you can use the node package manager by typing npm in termux 

Hi, I'm Basudev
A Professional Blogger & Hacker Interested in Infosec, Web Development, Programming

You may like these posts

  • Git is a popular version control system that allows developers to track changes and collaborate on their code. This article will show you how to install Git in Termux So that you c…
  • In this tutorial, you will learn how to install python in termux and use python files on your androidWhat is Python?Python is a programming language used to build software, website…
  •  Php is a popular scripting language for web development; Php is easy to use and has a simple syntax. In this article, we will show you how to install PHP in termuxTo install …
  • Hello there, In this tutorial, we will be discussing how to install and use Sqlmap in termux What is Sqlmap? Sqlmap is an automatic SQL Injection scanner and exploitation …
  • ChatGPT is an AI-powered chatbot that can generate natural-sounding conversations in real-time. By leveraging advanced natural language processing and deep learning, ChatGPT is cap…
  • Node.js is a powerful JavaScript runtime built on Chrome's V8 JavaScript engine. It allows you to run JavaScript on the server side, which can be used to create many applica…

Post a Comment

Comments will be reviewed before publishing