macOS
brew install crystallocal Homebrew formula metadata
sudo port install crystalMacPorts ports tree · lang/crystal/Portfile · 来源: api.github.com
安装
brew install crystallocal Homebrew formula metadata
sudo port install crystalMacPorts ports tree · lang/crystal/Portfile · 来源: api.github.com
sudo apk add crystalAlpine Linux edge package indexes · crystal · 来源: dl-cdn.alpinelinux.org
sudo apt install crystalDebian stable package indexes · crystal · 来源: deb.debian.org
sudo pacman -S crystalArch Linux sync databases · crystal · 来源: geo.mirror.pkgbuild.com
nix profile install nixpkgs#shardsnixpkgs package indexes · pkgs/by-name/sh/shards/package.nix · 来源: api.github.com
scoop install main/crystalScoop official bucket manifest trees · bucket/crystal.json · 来源: api.github.com
winget install --id CrystalLang.Crystal -eWindows Package Manager source index · CrystalLang.Crystal · 来源: cdn.winget.microsoft.com
概览
Fast and statically typed, compiled language with Ruby-like syntax
历史
Crystal is a compiled, statically type-checked programming language with Ruby-inspired syntax and a native-code toolchain. As a package, it is both a compiler/runtime and the delivery point for Shards, the distributed dependency manager used by Crystal libraries.
The official birthday post says Crystal became one year old on September 3, 2013, placing the project's start in 2012. The project describes itself as born and raised at Manas, with goals that combine Ruby-like syntax, static type checking without pervasive annotations, C bindings, compile-time code generation, and efficient native code generation through LLVM.
Crystal reached its 1.0 milestone in March 2021 after many years of development, thousands of contributions, and more than 450 contributors according to the official 1.0 announcement. That release mattered to adoption because it introduced a 1.x compatibility promise for language and standard-library behavior, which is the kind of stability signal package maintainers and production users wait for.
Users install the crystal compiler to build command-line tools, services, and libraries with Ruby-like syntax and native output. The official homepage highlights the standard library, fibers, C bindings, macros, and Shards; the reference and API docs are the primary documentation surfaces for everyday development.
Crystal is unusually package-manager-shaped for a language runtime: the official install page distinguishes official packages, system packages, and community-maintained packages, and says Homebrew is the most popular installation method. The same page lists Debian/Ubuntu, Alpine, Arch, Homebrew, Nix, Scoop, WinGet, MSYS2, FreeBSD, OpenBSD, and other routes, so downstream packaging is a central part of how users receive the language.
安全态势
没有找到 crystal 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
crystal | cli | 全局可执行文件 | |
shards | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/crystal-lang/crystal
安装元数据
| 软件包键 | brew:crystal |
|---|---|
| 版本 | 1.20.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/crystal |
| 主页 | https://crystal-lang.org/ |
| 仓库 | https://github.com/crystal-lang/crystal |
| 上游文档 | https://crystal-lang.org/api/latest |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/crystal-lang/crystal/archive/refs/tags/1.20.3.tar.gz |
| 最后更新 | 2026-07-03T09:03:45Z |
| Pulse | updated |
| 依赖 | bdw-gc, gmp, libyaml, llvm, openssl@3, pcre2, pkgconf |
| macOS 提供的库 | libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | crystal |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
crystal 1.14.0+dfsg-1
compiler of the Crystal object-oriented programming language
sudo apt install crystalcrystal-doc 1.14.0+dfsg-1
API documentation for the Crystal object-oriented programming language
sudo apt install crystal-doccrystal-samples 1.14.0+dfsg-1
samples for the Crystal object-oriented programming language
sudo apt install crystal-samplescrystal 1.11.2+dfsg-1build3
compiler of the Crystal object-oriented programming language
sudo apt install crystalcrystal-doc 1.11.2+dfsg-1build3
API documentation for the Crystal object-oriented programming language
sudo apt install crystal-doccrystal-samples 1.11.2+dfsg-1build3
samples for the Crystal object-oriented programming language
sudo apt install crystal-samplescrystal 1.20.2-r0
The Crystal Programming Language
sudo apk add crystalcrystal-bash-completion 1.20.2-r0
Bash completions for crystal
sudo apk add crystal-bash-completioncrystal-doc 1.20.2-r0
The Crystal Programming Language (documentation)
sudo apk add crystal-doccrystal-zsh-completion 1.20.2-r0
Zsh completions for crystal
sudo apk add crystal-zsh-completioncrystal 1.20.2-1
The Crystal Programming Language
sudo pacman -S crystalcrystal
sudo port install crystalmain/crystal
scoop install main/crystalCrystalLang.Crystal
winget install --id CrystalLang.Crystal -eshards
sudo port install shardsshards 0.19.0-1
dependency manager for the Crystal language
sudo apt install shards来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.