./ioi-installer.sh: IOI installer version 1.11.*
usage: ./ioi-installer.sh [u|q]{i|o|l} PKG[@version] [--registry REGISTRY] [--version VERSION] [--data] [-h|--help]
usage: ./ioi-installer.sh ui --everything [--data]
Prefix:
u <PKG> un{install|load}
q <PKG> query
Commands:
i <PKG> Install a package; if an agent has a start script, it will be run.
o <PKG> Operate on an outdated package.
l <PKG> If the package is an agent, it will loaded.
Switches:
--registry <REGISTRY>
Specifies the registry where to find the package; currently UNUSED.
--version <VERSION>
Install a specific version; VERSION is not prefix with a 'v'. @version has precedence.
--data
Also remove all user data associated with the package.
--everything
Instead of uninstalling a single package, uninstall every package found.
Essentially, remove IOI from the system.
General:
There is no space between a prefix and a command.
Examples:
To query if a package is installed.
./ioi-installer.sh qi @ioi-ri/default-runtime-manager@0.1.2
./ioi-installer.sh qi @ioi-ri/default-runtime-manager --version 0.1.2