Automic VaultAutomic Vault

brew

Install crystal-icr with Homebrew, Nix

Interactive console for Crystal programming language. Version 0.9.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install crystal-icr

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#icr

nixpkgs package indexes · pkgs/by-name/ic/icr/package.nix · source: api.github.com

overview

Package summary

Interactive console for Crystal programming language

Commands and aliases

  • icr

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: The official GitHub repository was created.
  • 2021: The repository's last pushed timestamp in the GitHub API indicates maintenance activity through the Crystal 0.x/early 1.x era.

Related projects

  • ICR is directly tied to Crystal and Shards. The README also points to inf-crystal.el as an editor integration for connecting Emacs to an ICR subprocess.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 7 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
icrcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.9.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.9.0

https://github.com/crystal-community/icr

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:crystal-icr
Version0.9.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/crystal-icr
Homepagehttps://github.com/crystal-community/icr
Repositoryhttps://github.com/crystal-community/icr
Upstream docshttps://github.com/crystal-community/icr#readme
LicenseMIT
Source archivehttps://github.com/crystal-community/icr/archive/refs/tags/v0.9.0.tar.gz
Dependenciesbdw-gc, crystal, libevent, libyaml, openssl@3, pcre2, readline
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecrystal-icr
Version Scheme0
Revision3
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix92%

icr

nix profile install nixpkgs#icr
  • installed executable or alias match
  • Matched by: Icr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ic/icr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment