{"id":19438362,"url":"https://github.com/opensumi/cli","last_synced_at":"2025-08-31T19:37:46.654Z","repository":{"id":102992416,"uuid":"559760358","full_name":"opensumi/cli","owner":"opensumi","description":"🛠️  Standard Tooling for OpenSumi Extensions Development","archived":false,"fork":false,"pushed_at":"2024-07-10T10:07:30.000Z","size":3649,"stargazers_count":0,"open_issues_count":5,"forks_count":3,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-08-15T19:50:49.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/opensumi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-10-31T03:05:35.000Z","updated_at":"2023-02-03T07:24:04.000Z","dependencies_parsed_at":"2025-06-10T03:43:16.356Z","dependency_job_id":null,"html_url":"https://github.com/opensumi/cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/opensumi/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensumi","download_url":"https://codeload.github.com/opensumi/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273032874,"owners_count":25034067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-10T15:18:03.365Z","updated_at":"2025-08-31T19:37:46.601Z","avatar_url":"https://github.com/opensumi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenSumi CLI\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM downloads][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/@opensumi/cli.svg\n[npm-url]: https://www.npmjs.com/package/@opensumi/cli\n[download-image]: https://img.shields.io/npm/dm/@opensumi/cli.svg\n[download-url]: https://npmjs.org/package/@opensumi/cli\n[license-image]: https://img.shields.io/npm/l/@opensumi/cli.svg\n[license-url]: https://github.com/opensumi/core/blob/main/LICENSE\n[license-image]: https://img.shields.io/npm/l/@opensumi/cli.svg\n[license-url]: https://github.com/opensumi/core/blob/main/LICENSE\n\n🛠️ Standard Tooling for OpenSumi Extensions Development\n\n## Develop\n\n```bash\n$ yarn\n$ yarn dev\n```\n\nTest command on the local:\n\n```bash\n$ ./packages/cli/bin/sumi.js \u003ccommand\u003e [options]\n```\n\n## Publish\n\n```bash\n$ yarn release\n```\n\nThen push commits and tag to the main branch, the `@opensumi/cli@{tag_version}` will release automatically.\n\n## Usage\n\nInstall `@opensumi/cli`:\n\n```\n$ npm install @opensumi/cli -g\n```\n\nInitailize the template:\n\n```\n$ sumi init opensumi-ext-demo\n$ cd opensumi-ext-demo\n$ npm run watch\n$ sumi dev\n```\n\n## Commands\n\n```md\nUsage: sumi \u003ccommand\u003e [options]\n\nOptions:\n  -V, --version                                          output the version number\n  -h, --help                                             output usage information\n\nCommands:\n  init                                                   init a new extension powered by OpenSumi\n  watch                                                  watch extension in development mode\n  dev [options]                                          launch OpenSumi IDE load specified extension.\n  compile                                                compile extension in production mode\n  package [options]                                      Packages an extension\n  install \u003cpublisher\u003e \u003cname\u003e \u003cversion\u003e [extensionDir]    installing a extension\n  engine                                                 OpenSumi cli engine management\n    add \u003cversion\u003e                                        download and install a [version]\n    remove \u003cversion\u003e                                     remove specific [version] engine\n    use  \u003cversion\u003e                                       change current engine to [version]\n    ls                                                   list installed engine versions\n    ls-remote                                            list remote engine versions available for install\n    current                                              display currently selected version\n\nRun sumi \u003ccommand\u003e --help for detailed usage of given command.\n```\n\n## Use the specified OpenSumi version\n\n1. List the remote engine version\n```\n$ sumi engine ls-remote\n\n2.22.10-rc-1679037411.0   rc\n              -\u003e 2.23.0   latest\n```\n\n2. Add expected version\n\n```\n$ sumi engine add 2.23.0\n```\n\n## License\n\nCopyright (c) 2019-present Alibaba Group Holding Limited, Ant Group Co. Ltd.\n\nLicensed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensumi%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensumi%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensumi%2Fcli/lists"}