io = IO::Memory.new io.gets_to_end
Note that most search and filter methods traverse an Enumerable eagerly, producing an Array as the result. For a lazy alternative refer to the Iterator and Iterable modules.
% docker run --rm -it debian bash
apt install curl
curl -fsSL https://crystal-lang.org/install.sh | bash
bash: crystal: command not found