macOS
brew install crystal-icrlocal Homebrew formula metadata
安装
brew install crystal-icrlocal Homebrew formula metadata
nix profile install nixpkgs#icrnixpkgs package indexes · pkgs/by-name/ic/icr/package.nix · 来源: api.github.com
概览
Interactive console for Crystal programming language
历史
ICR, short for Interactive Crystal, is a REPL-like console for the Crystal programming language. It exists because Crystal is normally compiled, so an interactive shell has to simulate the Ruby-style irb experience by generating and running Crystal programs behind the scenes.
The official GitHub repository was created in 2016 under the crystal-community organization. Its README presents the tool as an interactive console for Crystal and credits Potapov Sergey as creator and maintainer, with later community contributors adding support for newer Crystal versions, records, require flags, syntax highlighting, and maintenance.
ICR is a smaller companion package rather than part of Crystal's core distribution. The README documents source installation with make, use as a shard dependency, and an Arch AUR package; the supplied package metadata adds Homebrew and Nix packaging, showing that language-adjacent developer tools often get packaged separately from the compiler.
ICR is used like irb for Crystal: each submitted instruction is accumulated into a generated Crystal program, executed, and presented as if only the new instruction ran. It supports requiring local files or shards from the command line and includes console commands such as paste, debug, quit, exit, and reset.
ICR is significant mostly as a packaging companion to Crystal. Its usefulness depends on matching the installed Crystal compiler, readline, and LLVM development files, so it illustrates why language ecosystems often need small auxiliary formulae beyond the main runtime.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
icr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/crystal-community/icr
安装元数据
| 软件包键 | brew:crystal-icr |
|---|---|
| 版本 | 0.9.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/crystal-icr |
| 主页 | https://github.com/crystal-community/icr |
| 仓库 | https://github.com/crystal-community/icr |
| 上游文档 | https://github.com/crystal-community/icr#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/crystal-community/icr/archive/refs/tags/v0.9.0.tar.gz |
| 依赖 | bdw-gc, crystal, libevent, libyaml, openssl@3, pcre2, readline |
| 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-icr |
| Version Scheme | 0 |
| Revision | 3 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
icr
nix profile install nixpkgs#icr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.