Create, or edit your ~/.irbrc file to include:
~/.irbrc
require 'irb/ext/eval_history' # was 'irb/ext/save-history' for versions prior to Ruby 3.3 IRB.conf[:SAVE_HISTORY] = 2000 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
We make sure that your target audience has the best possible experience with your digital product. You get: