You can simply use an old version of that CLI:
npm init @capacitor/[email protected]
Version 0.9.0 is for Capacitor 4 (see GitHub).