browserify command not found

In this troubleshooting guide we learn how to fix browserify command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

browserify: command not found

or when using sudo you get the following error message

sudo: browserify: command not found

Solutions to browserify: command not found

How To Fix browserify: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu browserify is provided by node-browserify package.

node-browserify is:

Browserify is a tool that allows developers to write Node.js-style modules that compile for use in the browser.

Browserify lets developers use require in the browser, the same way this is used in Node.js. Browserify provides also suitable replacement a built-in Node.js modules suitable for browser uses.

Node.js is an event-based server-side JavaScript engine.

To fix this problem, we can install more using the command below.

sudo apt-get -y install node-browserify

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install node-browserify.

sudo apt -y install node-browserify

Or if you have aptitude installed you can use the following command.

sudo aptitude install node-browserify

Summary

In this tutorial we learn how to fix browserify command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.