pgmodeler-cli command not found

In this troubleshooting guide we learn how to fix pgmodeler-cli command not found error message

Introduction

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

pgmodeler-cli: command not found

or when using sudo you get the following error message

sudo: pgmodeler-cli: command not found

Solutions to pgmodeler-cli: command not found

How To Fix pgmodeler-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pgmodeler-cli is provided by pgmodeler package.

pgmodeler is:

pgModeler is a GUI for modelling PostgreSQL databases. It is easy to use, allowing the creation and modification of database models with an intuitive interface.

This package provides the graphical and command line interfaces.

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

sudo apt-get -y install pgmodeler

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

You can also use apt command to install pgmodeler.

sudo apt -y install pgmodeler

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

sudo aptitude install pgmodeler

Summary

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