Commands
Plugin Manager
Load plugin manager with plugins and language modules:
plg load
Load plugin manager with plugins and language modules ignoring missing or conflict packages:
plg load --ignore
Unload plugin manager:
plg unload
Search for plugins
Show information about a module:
plg plugin _plugin_name_
Show information about a plugin:
plg module _plugin_name_
List running modules:
plg modules
List running plugins:
plg plugins
Misc
Show help:
plg help
Version information:
plg version
Package Manager
Like other package managers, plg can synchronize package lists with the software repositories to allow the user to download and install packages with a simple command by solving all required dependencies.
Install packages
You can install a single package or multiple packages using plugify
command in this fashion:
plg install _package_name1_ _package_name2_ ...
To install a single package or multiple packages from file manifest:
plg install --file D:/_package_file_.json
To install a single package or multiple packages from HTTP manifest:
plg install --link https://website.com/_package_file_.json
To install missing packages to resolve all of current dependencies:
plg install --missing
Update packages
To update a single package or multiple packages:
plg update _package_name1_ _package_name2_ ...
To update all installed packages:
plg update --all
Remove an installed package
To remove a single package or multiple packages, leaving all of its dependencies installed:
plg remove _package_name1_ _package_name2_ ...
To remove all installed packages:
plg remove --all
To remove a conflicted packages with unresolved dependencies:
plg remove --conflict
Search for packages
Print all local packages:
plg list
Print all remote packages:
plg query
You can search for remote packages by name:
plg search _package_name_
You can search for local packages by name:
plg show _package_name_
Manage packages
You can snapshot installed packages into manifest file. File will be automatically generated at the base directory.
plg snapshot
This command is essential for adding packages that are not in the default repositories. Developers create and maintain these repositories and allow others to add them via URLs. Since these are unofficial repositories, add them from trusted sources to avoid potential security threats.
plg repo https://website.com/_package_file_.json