Skip to content

Install packages programmatically? #1597

@dbeckwith

Description

@dbeckwith

Is there any official way to install packages without having to use the sublime UI? I'd like to be able to write an external script that will install/uninstall packages by name. I had a look through the source code and couldn't find any registered sublime commands that directly install a package. There's InstallPackageCommand but it just opens a separate window which eventually calls PackageManager, and the actual install code is located there. Is there a way to expose some of the functionality of PackageManager directly as sublime commands? If there isn't but you think this is a useful thing to have, I might be willing to contribute a patch. Thanks for the great package!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions