# crystal-icr mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für crystal-icr in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:crystal-icr
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install crystal-icr
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#icr
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ic/icr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:crystal-icr
- **Paketmanager:** Homebrew
- **Version:** 0.9.0
- **Quellzusammenfassung:** Interactive console for Crystal programming language
- **Homepage:** <https://github.com/crystal-community/icr>
- **Repository:** <https://github.com/crystal-community/icr>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- icr (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.9.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://github.com/crystal-community/icr>
- <https://api.github.com/repos/crystal-community/icr>


## Sicherheitshinweise

generalized runtime or code generation signal.

- **Geiger-Risiko:** yellow / mittel
- generalized runtime or code generation signal

## Andere Paketmanager-Einträge

- Nix - icr: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ic/icr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/crystal-icr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/crystal-icr.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
