{"id":13599344,"url":"https://github.com/lmstudio-ai/lms","last_synced_at":"2026-01-17T04:34:06.501Z","repository":{"id":237697207,"uuid":"786925690","full_name":"lmstudio-ai/lms","owner":"lmstudio-ai","description":"LM Studio CLI","archived":false,"fork":false,"pushed_at":"2026-01-12T21:44:06.000Z","size":730,"stargazers_count":4047,"open_issues_count":205,"forks_count":315,"subscribers_count":35,"default_branch":"main","last_synced_at":"2026-01-12T21:57:10.588Z","etag":null,"topics":["llm","lmstudio","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://lms.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmstudio-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-15T15:04:41.000Z","updated_at":"2026-01-12T10:08:18.000Z","dependencies_parsed_at":"2024-05-10T21:23:27.457Z","dependency_job_id":"38e7a56a-72bc-4c42-a3c4-abab5bff74fc","html_url":"https://github.com/lmstudio-ai/lms","commit_stats":null,"previous_names":["lmstudio-ai/lmstudio-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lmstudio-ai/lms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmstudio-ai%2Flms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmstudio-ai%2Flms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmstudio-ai%2Flms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmstudio-ai%2Flms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmstudio-ai","download_url":"https://codeload.github.com/lmstudio-ai/lms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmstudio-ai%2Flms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28495182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llm","lmstudio","nodejs","typescript"],"created_at":"2024-08-01T17:01:02.571Z","updated_at":"2026-01-17T04:34:06.492Z","avatar_url":"https://github.com/lmstudio-ai.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","A01_文本生成_文本对话","Deployment and Serving","typescript"],"sub_categories":["大语言对话模型及数据"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://files.lmstudio.ai/lms-dark.png\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://files.lmstudio.ai/lms-light.png\"\u003e\n    \u003cimg alt=\"lmstudio cli logo\" src=\"https://files.lmstudio.ai/lms-light.png\" width=\"180\"\u003e\n  \u003c/picture\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cbold\u003e\u003ccode\u003elms\u003c/code\u003e - Command Line Tool for \u003ca href=\"https://lmstudio.ai/\"\u003eLM Studio\u003c/a\u003e\u003c/bold\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eBuilt with \u003cbold\u003e\u003ccode\u003e\u003ca href=\"https://github.com/lmstudio-ai/lmstudio.js\"\u003elmstudio.js\u003c/a\u003e\u003c/code\u003e\u003c/bold\u003e\u003c/p\u003e\n\n# Installation\n\n`lms` ships with [LM Studio](https://lmstudio.ai/) 0.2.22 and newer.\n\nIf you have trouble running the command, try running `npx lmstudio install-cli` to add it to path.\n\nTo check if the bootstrapping was successful, run the following in a **👉 new terminal window 👈**:\n\n```shell\nlms\n```\n\n# Usage\n\nYou can use `lms --help` to see a list of all available subcommands.\n\nFor details about each subcommand, run `lms \u003csubcommand\u003e --help`.\n\nHere are some frequently used commands:\n\n- `lms status` - To check the status of LM Studio.\n- `lms server start` - To start the local API server.\n- `lms server stop` - To stop the local API server.\n- `lms ls` - To list all downloaded models.\n  - `lms ls --json` - To list all downloaded models in machine-readable JSON format.\n- `lms ps` - To list all loaded models available for inferencing.\n  - `lms ps --json` - To list all loaded models available for inferencing in machine-readable JSON format.\n- `lms load` - To load a model\n  - `lms load \u003cmodel path\u003e -y` - To load a model with maximum GPU acceleration without confirmation\n- `lms unload \u003cmodel identifier\u003e` - To unload a model\n  - `lms unload --all` - To unload all models\n- `lms create` - To create a new project with LM Studio SDK\n- `lms log stream` - To stream logs from LM Studio\n\n# Contributing\n\nThe CLI is part of the [lmstudio.js monorepo](https://github.com/lmstudio-ai/lmstudio.js) and cannot be built standalone.\n\n## Building and Testing the CLI\n\n```bash\n# Clone and build the entire monorepo\ngit clone https://github.com/lmstudio-ai/lmstudio-js.git --recursive\ncd lmstudio-js\nnpm install\nnpm run build\n\n# Test your CLI changes\nnode publish/cli/dist/index.js \u003csubcommand\u003e\n```\n\n**Example:**\n\n```bash\nnode publish/cli/dist/index.js --help\nnode publish/cli/dist/index.js status\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmstudio-ai%2Flms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmstudio-ai%2Flms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmstudio-ai%2Flms/lists"}