Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
PackageManager· method

PackageManager.installed

list the packages recorded as installed for this user

Python
installed() -> List[PackageInfo]

Returns List[PackageInfo] — one record per installed package

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager()
for info in pm.installed():
    print(info.name, info.version)

Notes#

Reads ~/.lsd/packages/installed.json and re-reads each package's lsd_package.json from its recorded path, filling in installed_at, source, and enabled from the record. Entries whose path is missing or no longer holds a valid manifest are skipped. This lists only packages added via Install… / add_local; to include pip entry-point and search-path packages use available.

See also#

API: available · install · remove

Guides: The Package Manager · lsd_package.json

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown