![Forrest logo](/images/logo.png)
port:tldr:067cd
port: Remove old versions of installed packages.
$ sudo port uninstall inactive
try on your machine
This command is used in macOS or Mac OS X systems with MacPorts installed.
The sudo port uninstall
command is used to uninstall software packages installed through MacPorts.
The inactive
argument, in this case, is used to specify that only the inactive ports should be uninstalled. Inactive ports are packages that have been installed previously but are not currently being used or were replaced by a newer version. These inactive ports take up disk space and can be removed to free up space.
By running sudo port uninstall inactive
, you are instructing MacPorts to uninstall all the inactive ports from your system. It will search for the ports that are not being used and remove them completely.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.