
mosaic
A package manager for Polytoria
curl -fsSL https://getmosaic.run/install.sh | shDetected macOS/Linux.
What is Mosaic?
Mosaic is a package manager for Polytoria, inspired by Cargo and npm. It lets you share and reuse Lua code across Polytoria projects.
There are two parts: the mosaic CLI and a central registry. The CLI is all you need to install packages, manage dependencies, and publish your own.
It's written in Rust, open source, and still early — but it works. If you build things on Polytoria, give it a try.
Quick reference
| mosaic init | Create a new project |
| mosaic install <package> | Add a dependency |
| mosaic remove <package> | Remove a dependency |
| mosaic update | Update all dependencies |
| mosaic upgrade | Upgrade the CLI itself |
| mosaic search <query> | Search the registry |
| mosaic info <package> | View package details |
| mosaic publish | Publish your package |
| mosaic unpublish <pkg>@<ver> | Remove a published version |