Mosaic

mosaic

A package manager for Polytoria

curl -fsSL https://getmosaic.run/install.sh | sh

Detected 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 initCreate a new project
mosaic install <package>Add a dependency
mosaic remove <package>Remove a dependency
mosaic updateUpdate all dependencies
mosaic upgradeUpgrade the CLI itself
mosaic search <query>Search the registry
mosaic info <package>View package details
mosaic publishPublish your package
mosaic unpublish <pkg>@<ver>Remove a published version