How to get a list of installed packages using Terminal on Ubuntu/Linux machine?

Use the apt command to get a list of all installed packages on a Ubuntu/Linux machine.

The below command works for all Ubuntu distributions with versions 14.04 and above.

apt list --installed

Related Links