jasmine command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
jasmine: command not found
or when using sudo you get the following error message
sudo: jasmine: command not found
Solutions to jasmine: command not found
How To Fix jasmine: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu jasmine is provided by node-jasmine package.
node-jasmine is:
Jasmine does not rely on browsers, DOM, or any JavaScript framework. Thus it suited for websites, Node.js projects, or anywhere that JavaScript can run.
ocumentation & guides live here: http://jasmine.github.io
To fix this problem, we can install more using the command below.
sudo apt-get -y install node-jasmine
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-jasmine.
sudo apt -y install node-jasmine
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-jasmine
Summary
In this tutorial we learn how to fix jasmine command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.