Summery

APT (Advanced Package Tool) manages software packages on Debian-based Linux distributions, including Kali Linux.

Common usage

sudo apt update -y; sudo apt full-upgrade -y; sudo apt auto-remove -y - Personal favorite

apt update - Refresh package lists
apt upgrade - Upgrade installed packages without removing existing packages
apt full-upgrade - Upgrade packages and remove or install packages if required to resolve dependencies
apt install PACKAGE - Install a package
apt remove PACKAGE - Remove a package but retain configuration files
apt purge PACKAGE - Remove a package and its configuration files
apt autoremove - Remove automatically installed dependencies that are no longer needed
apt search KEYWORD - Search packages
apt show PACKAGE - Display package information

Add the -y flag if you want to accept and skip all question prompts.

References

APT documentation