How to Increase the macOS Terminal Device Limit
I ran into this error for the first time: You may run into the more obscure error: I had to look it up to understand what a pty device was (basically, a terminal connection)! The default on macOS was ~500, so I had to really be convinced that I had 500 pty terminals running, but it looked like I did (coding CLIs spawn their own subshells, vscode at the time used a bash wrapper to spawn a zsh tmux session, etc)…
Continue Reading