Documentation

Develop and Publish (Beta)

lms push (Beta)

Upload the current folder's artifact to LM Studio Hub (beta).

Run lms push from inside a plugin, preset, or model.yaml project to publish a new revision. If a model.yaml exists, the CLI will generate a manifest.json for you before pushing.

For plugins, the CLI will ask for confirmation unless you pass -y.

Publish the current folder

lms push

Flags

--description (optional) : string

Override the artifact description for this push

--overrides (optional) : string

JSON string to override manifest fields (parsed with JSON.parse)

-y, --yes (optional) : flag

Suppress confirmations and warnings

--private (optional) : flag

Mark the artifact as private when first published

--write-revision (optional) : flag

Write the returned revision number to manifest.json

Advanced

Publish quietly and keep the revision in manifest.json

lms push -y --write-revision

Override metadata for this upload

lms push --description "New beta build" --overrides '{"tags": ["beta"]}'

This page's source is available on GitHub