=== LeonOS Package Manager === The `pkg` command is LeonOS's lightweight package manager, allowing you to install, update, remove, and manage software packages. == Basic Usage == >>color yellow pkg [options] >>color white == Available Commands == - **install **: Install a package - **update **: Update a package (leave empty to update all) - **remove **: Remove a package - **list**: List all installed packages - **search **: Search for packages - **info **: Show package information - **init **: Create a new package - **help**: Show help message == Command Options == The following options are available for most commands: - `-f`, `--force`: Force operation (install, update) - `-l`, `--local`: Install from local file - `-v`, `--verbose`: Show detailed output - `-h`, `--help`: Show help information == Usage Examples == 1. Install a package: >>color yellow pkg install example-pkg >>color white 2. Force install a package: >>color yellow pkg install --force example-pkg >>color white 3. Update all packages: >>color yellow pkg update >>color white 4. Remove a package: >>color yellow pkg remove example-pkg >>color white 5. List installed packages: >>color yellow pkg list >>color white 6. Search for packages: >>color yellow pkg search editor >>color white 7. Show package information: >>color yellow pkg info example-pkg >>color white 8. Create a new package: >>color yellow pkg init my-new-pkg >>color white == Package Creation == When creating a new package with `pkg init `, the following structure is created: /packages/ / 1.0.0/ package.json - Package metadata .lua - Main package file You can edit these files to customize your package before installing it.