I like being able to quickly query GPT-4 in my CLI. Most existing solutions seem quite cluttered. Since I like code-golf and simple solutions, here a 10 LoC options for you to play with and use
Show HN: GPT(-4) CLI with OS-agnostic persistence in 10 lines of code | Better HN