vows command not found

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

Introduction

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

vows: command not found

or when using sudo you get the following error message

sudo: vows: command not found

Solutions to vows: command not found

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

In Ubuntu vows is provided by node-vows package.

node-vows is:

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

Vows is a behavior driven development (BDD) framework for Node.

Vows was built from the ground up to test asynchronous code. It executes your tests in parallel when it makes sense, and sequentially when there are dependencies.

Emphasis was put on speed of execution, clarity and user experience.

This package contains the vows library for Node, and the script vows for running tests from the commandline.

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

sudo apt-get -y install node-vows

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

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

sudo apt -y install node-vows

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

sudo aptitude install node-vows

Summary

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