ng-nailgun command not found

In this troubleshooting guide we learn how to fix ng-nailgun command not found error message

Introduction

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

ng-nailgun: command not found

or when using sudo you get the following error message

sudo: ng-nailgun: command not found

Solutions to ng-nailgun: command not found

How To Fix ng-nailgun: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ng-nailgun is provided by nailgun package.

nailgun is:

Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O.

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

sudo apt-get -y install nailgun

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

You can also use apt command to install nailgun.

sudo apt -y install nailgun

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

sudo aptitude install nailgun

Summary

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