crystal-icr
brew install crystal-icr
v0.9.0_3
MIT
Interactive console for Crystal programming language
17
30-day installs · #7294
47
90-day · #7509
218
365-day · #7142
506
★ GitHub stars · updated 4y ago
Runtime dependencies
GitHub topics
crystal
repl
Links
- https://github.com/crystal-community/icr
- GitHub: crystal-community/icr
- Brew formula source: Formula/c/crystal-icr.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"bdw-gc",
"crystal",
"libevent",
"libyaml",
"openssl@3",
"pcre2",
"readline"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Interactive console for Crystal programming language",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:43+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "crystal-icr",
"github_default_branch": "master",
"github_last_commit_at": "2021-09-26T15:30:55Z",
"github_readme_excerpt": "# ICR - Interactive Crystal [](https://travis-ci.org/crystal-community/icr)\n\nInteractive console for [Crystal Programming Language](http://crystal-lang.org/).\n\n* [Usage](#usage)\n * [Require local files](#require-local-files)\n* [Installation](#installation)\n * [Arch Linux](#arch-linux)\n* [How does it work?](#how-does-it-work)\n* [Commands and special locals](#commands-and-special-locals)\n* [Update check](#update-check)\n* [Development](#development)\n* [Editor Integration](#editor-integration)\n* [Contributors](#contributors)\n\n## Usage\n\nIt\u0027s like irb, but for Crystal:\n\n\n\n### Require local files\nYou can require local files by relative path (starts with `./`):\n```\nrequire \"./src/my_cool_lib\"\n```\n\nLibs can also be required from the cli:\n\n```\n$ icr -r colorize -r ./src/my_cool_lib\n```\n\n## Installation\nPrerequisites:\n* The latest version of crystal.\n* Readline (for Debian/Ubuntu install `libreadline6-dev` package).\n* LLVM development files.\n\nClone the repo:\n```\ngit clone https://github.com/crystal-community/icr.git\n```\nSwitch to repo-directory:\n```\ncd icr\n```\nBuild:\n```\nmake\n```\n\nInstall:\n\n```\nsudo make install\n```\n\n### As a shard dependency\n\nIf you would like to include icr as a dependency, you can add it to your `shard.yml`\n\n```yml\ndependencies:\n icr:\n github: crystal-community/icr\n branch: master\n```\n\nThen just run `shards install` from your project!\n\nEnjoy!\n\n\n### Arch Linux\n\nArch Linux users can install ICR [from AUR](https://aur.archlinux.org/packages/crystal-icr/).\n\n\n## How does it work?\n* Every time you press `Enter` it adds a new instruction, generates a new crystal program, and executes it.\n* The output is split into 2 parts: regular program output (e.g. output from `puts 10`) and the value returned by the last command.\n* The regular output is saved, and when you type a new instruction, a new p",
"github_repo": "crystal-community/icr",
"github_stars": 506,
"github_topics": [
"crystal",
"repl"
],
"homepage": "https://github.com/crystal-community/icr",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 17,
"installs_365d": 218,
"installs_90d": 47,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "crystal-icr",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 7294,
"rank_365d": 7142,
"rank_90d": 7509,
"raw_hash": "d97dcc971f993731",
"recommended_dependencies": [],
"revision": 3,
"ruby_source_path": "Formula/c/crystal-icr.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.9.0",
"versioned_formulae": [],
"why_use_this": null
}