Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.51 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.51 KB

AO Package Manager (APM)

The APM is a package manager for the AO the computer. It is designed to make it possible to easily install packages in processes.

Visit apm.betteridea.dev for a graphical interface to view and publish packages.

APM ID DKF8oXtPvh3q8s0fJFIeHFyHNM6oKrwMCUrPxEMroak

Install APM Client

Installer: installer.lua

Client Source: client.lua

Load installer.lua file, this will send a request to the APM registry to install the latest published client. Or you can load the client source file directly, but this wont guarantee that you have the latest or stable version.

.load-blueprint apm

The APM process id is stored in the apm.ID variable.

Show installed pacakges

apm.installed

Install a package

apm.install "package_name"
-- or
apm.install "@vendor/package_name"
-- or
apm.install "@vendor/package_name@version"

When you dont enter a vendor name, it will default to @apm

When you dont enter a version, it will default to the latest version.

Uninstall a package

APM.uninstall "package_name"
-- or
APM.uninstall "@vendor/package_name"

When you dont enter a vendor name, it will default to @apm

Publishing a package

Check the guide at apm webapp

also useful: apm cli tool