{"id":22776013,"url":"https://github.com/d2learn/xlings","last_synced_at":"2026-04-25T10:07:39.343Z","repository":{"id":253824982,"uuid":"844525090","full_name":"d2learn/xlings","owner":"d2learn","description":"Highly abstract [ package manager ] - \"Multi-version management + Everything can be a package\"","archived":false,"fork":false,"pushed_at":"2026-02-24T13:50:39.000Z","size":763,"stargazers_count":569,"open_issues_count":22,"forks_count":43,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-24T13:54:12.602Z","etag":null,"topics":["ai","auto-configuration","auto-detect","d2x","demos","installer","llm-application","package-manager","project-management","tools","version-manager","xlings"],"latest_commit_sha":null,"homepage":"https://xlings.d2learn.org","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d2learn.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":".github/CODEOWNERS","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-08-19T12:46:09.000Z","updated_at":"2026-02-24T10:59:37.000Z","dependencies_parsed_at":"2024-11-29T17:24:52.207Z","dependency_job_id":"16426339-623a-4008-a2fb-d9db3cc5d370","html_url":"https://github.com/d2learn/xlings","commit_stats":null,"previous_names":["sunrisepeak/xlings"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/d2learn/xlings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2learn%2Fxlings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2learn%2Fxlings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2learn%2Fxlings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2learn%2Fxlings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d2learn","download_url":"https://codeload.github.com/d2learn/xlings/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2learn%2Fxlings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29874556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T21:05:00.265Z","status":"ssl_error","status_checked_at":"2026-02-26T20:57:13.669Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ai","auto-configuration","auto-detect","d2x","demos","installer","llm-application","package-manager","project-management","tools","version-manager","xlings"],"created_at":"2024-12-11T19:01:30.804Z","updated_at":"2026-04-25T10:07:39.335Z","avatar_url":"https://github.com/d2learn.png","language":"C++","funding_links":[],"categories":["Lua","C++"],"sub_categories":[],"readme":"\u003cdiv align=right\u003e\n\n  [中文] | [English] | [Todo]\n\u003c/div\u003e\n\n\u003cdiv align=center\u003e\n  \u003cimg width=\"120\" src=\"https://xlings.d2learn.org/imgs/xlings-logo.png\"\u003e\n\n  \u003cem\u003eXlings | Highly abstract [ package manager ] - \u003cb\u003e\"Multi-version management + Everything can be a package\"\u003c/b\u003e\u003c/em\u003e\n\n  \u003cb\u003e [Website] | [Quick Start] | [Package Index] | [XPackage] | [Contributing] | [Forum] \u003c/b\u003e\n\u003c/div\u003e\n\n[中文]: README.zh.md\n[繁體中文]: README.zh.hant.md\n[English]: README.md\n[Todo]: README.md\n\n[Website]: https://xlings.d2learn.org\n[Quick Start]: https://xlings.d2learn.org/en/documents/quick-start/one-click-install.html\n[Package Index]: https://d2learn.github.io/xim-pkgindex\n[XPackage]: https://xlings.d2learn.org/en/documents/xpkg/intro.html\n[Contributing]: https://xlings.d2learn.org/en/documents/community/contribute/add-xpkg.html\n[Forum]: https://forum.d2learn.org/category/9/xlings\n\n\n\u003e [!CAUTION]\n\u003e xlings is currently migrating from Lua to MC++ with a modular architecture. Some packages may be unstable during this transition. If you run into any problems, please report them via [Issues] or the [Forum].\n\n[Issues]: https://github.com/d2learn/xlings/issues\n\n## Quick Start\n\n### Install (Github)\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eclick to view xlings installation command (old)\u003c/summary\u003e\n\n---\n\n#### Linux/MacOS\n\n```bash\ncurl -fsSL https://d2learn.org/xlings-install.sh | bash\n```\n\n#### Windows - PowerShell\n\n```bash\nirm https://d2learn.org/xlings-install.ps1.txt | iex\n```\n\n\u003e tips: xlings -\u003e [details](https://xlings.d2learn.org)\n\n---\n\n\u003c/details\u003e\n\n#### Linux/MacOS\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash\n```\n\n#### Windows - PowerShell\n\n```bash\nirm https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.ps1 | iex\n```\n\n\n### Useage\n\n**`Type1: Install Software/Tools`**\n\n```bash\nxlings install code\nxlings install devcpp\nxlings install gcc@15\n```\n\n**`Type2: Config Environment`**\n\n```bash\nxlings install config:rust-crates-mirror\nxlings install config:xxx\n```\n\n**`Type3: Install Tutorial` - [Interactive C++ Tutorial](https://github.com/Sunrisepeak/mcpp-standard)**\n\n```bash\nxlings install d2x:mcpp-standard\n```\n\n👉 [more details...](https://xlings.d2learn.org/en/documents/quick-start/install-and-version.html)\n\n### SubOS - Environment Isolation Mode\n\n\u003e xlings supports creating isolated workspaces through the `subos` command.\n\n**Global isolated environment**\n\n\u003e Create an isolated environment and install Node.js into it.\n\n```bash\n# 0. Create a subos environment\nxlings subos new my-subos\n\n# 1. List all subos environments\nxlings subos list\n\n# 2. Switch to my-subos\nxlings subos use my-subos\n\n# 3. Install node inside the isolated environment\n#    (without affecting the system / host environment / other subos)\nxlings install node@24 -y\nnode --version\n\n# 4. Remove the isolated environment\nxlings subos remove my-subos\n```\n\n**Project isolated environment**\n\n\u003e xlings also supports project-scoped isolated environments through a `.xlings.json`\n\u003e file, and can install the configured project environment with one command.\n\u003e Below is a real configuration from the [d2x](https://github.com/d2learn/d2x) project:\n\n```json\n{\n  \"workspace\": {\n    \"xmake\": \"3.0.7\",\n    \"gcc\": { \"linux\": \"15.1.0\" },\n    \"openssl\": { \"linux\": \"3.1.5\" },\n    \"llvm\": { \"macos\": \"20\" }\n  }\n}\n```\n\nInstall and configure the project environment with one command:\n\n\u003e Run the following command in the project directory:\n\n```bash\nxlings install\n```\n\n**Note:** the SubOS mechanism uses a `[ version view + reference counting ]`\nstrategy to avoid repeatedly downloading the same package payloads.\n\n## Community\n\n- Communication Group (Q): 167535744 / 1006282943\n- [Community Forum](https://forum.d2learn.org/category/9/xlings): Discussions on related technologies, features, and issues\n\n## Contributing\n\n- [Issue Handling and Bug Fixing\n](https://xlings.d2learn.org/en/documents/community/contribute/issues.html)\n- [Adding New Packages](https://xlings.d2learn.org/en/documents/community/contribute/add-xpkg.html)\n- [Documentation Writing](https://xlings.d2learn.org/en/documents/community/contribute/documentation.html)\n\n**👥Contributors**\n\n[![Star History Chart](https://api.star-history.com/svg?repos=d2learn/xlings,d2learn/xim-pkgindex\u0026type=Date)](https://star-history.com/#d2learn/xlings\u0026d2learn/xim-pkgindex\u0026Date)\n\n\u003ca href=\"https://github.com/d2learn/xlings/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=d2learn/xlings\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2learn%2Fxlings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd2learn%2Fxlings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2learn%2Fxlings/lists"}