How to exit the REPL August 19, 2023 by Tarik You can send the ‘end-of-file’ character. You can just press ctrl-d (*nix) or ctrl-z (Windows) to exit the REPL.