| git.druid.rocks | index | druid520 | mp | docs/ | reference/ | commands/ | list.btft |
docs/reference/commands/list.btft
[table class="topnav"]
[tr]
[td class="logotab"]mp[e]
[td][see name="index"]index[e][e]
[td][see name="guide/index"]guide[e][e]
[td][see name="reference/index"]reference[e][e]
[e]
[e]
[h1]mp list[e]
[h2]synopsis[e]
[code]
mp list
mp list --installed
[e]
[h2]description[e]
with no arguments, prints [code]cat/name[e] for every port in every configured repo -- the full tree, unfiltered (use [see name="reference/commands/search"]search[e] to filter it).
[code]--installed[e] prints the live install db instead: one line per installed package, tab-separated [code]name version license[e], with a trailing [code]requested[e] marker for anything explicitly requested (as opposed to pulled in only as someone else's dependency -- the same flag [see name="reference/commands/prune"]prune[e] reads).
[h2]examples[e]
[code]
mp list | wc -l # how many ports exist across every repo
mp list --installed
figlet 2.2.5 gpl-2.0 requested
libfoo 1.0 mit
[e]
[h2]see also[e]
[see name="reference/commands/search"]search[e], [see name="reference/commands/info"]info[e], [see name="reference/commands/prune"]prune[e], [see name="reference/commands/export"]export[e].