English | 简体中文
The official package index of xlings: xpkgs for compilers, runtimes, tools and environments, on Linux, macOS and Windows, x86_64 and aarch64.
curl -fsSL https://d2learn.org/xlings-install.sh | bashirm https://d2learn.org/xlings-install.ps1.txt | iexxlings search gcc
xlings install gcc -y
xlings updateBrowse every package, its versions and commands at index.xlings.org.
The easiest way is to let an AI agent do it, to this repository's rules (AGENTS.md). You do not have to be the upstream's author. Give it:
Follow the contribution rules of https://github.com/openxlings/xim-pkgindex
(AGENTS.md; skip this if you already have them in context).
Task: <the package, version or fix, with its upstream URL>. If I did not name
a package, ask me what to add before you start.
It writes the xpkg (xpackage: a package's Lua file) and its test, verifies them in an
isolated XLINGS_HOME, opens a pull request that says what it ran and what it could not,
and stays with it until CI is green. A bug it finds in xlings or in this index is filed as
an issue titled [xpkg-report]:. Review its pull request as you would anyone's: the
source, the sha256s, and whether the program was run.
- Copy the template to
pkgs/<first letter>/<name>.luaand addtests/<first letter>/test_<name>.py. - Verify it in an isolated
XLINGS_HOME. - Open a pull request.
Adding a package is the whole path, the format is XPackage V2, and all documentation is in docs/. Not ready to write an xpkg? Open an issue.
| Repository | Namespace | For |
|---|---|---|
| xim-pkgindex-template | your own | a self-hosted, mirrored or private index |
| xim-pkgindex-fromsource | fromsource |
packages built from source |
| xim-pkgindex-d2x | d2x |
d2x course projects |