The mit-scheme interpreter does not bring the previous/next command when we press the up/down arrow keys. To add this behaviour, use rlwrap (which wraps around Readline).

Installation:

  • OSX: brew install rlwrap
  • Linux: sudo apt install rlwrap
  • Windows: ¯\_(ツ)_/¯

Afterwards, launch the mit-scheme interpreter as rlwrap scheme.

Source: StackOverflow