jwt command not found

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

Introduction

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

jwt: command not found

or when using sudo you get the following error message

sudo: jwt: command not found

Solutions to jwt: command not found

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

In Ubuntu jwt is provided by jwt package.

jwt is:

Community maintained clone of github.com/dgrijalva/jwt-go.

After the original author of the library suggested migrating the maintenance of jwt-go, a dedicated team of open source maintainers decided to clone the existing library into this module.

The command line utility included in this project (cmd/jwt) provides a straightforward example of token creation and parsing as well as a useful tool for debugging your own integration. You’ll also find several implementation examples in the documentation.

This package provides the command line.

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

sudo apt-get -y install jwt

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

You can also use apt command to install jwt.

sudo apt -y install jwt

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

sudo aptitude install jwt

Summary

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