Go with a 22 rifle. 22’s are vastly under rated as guns. I started my son off with mine when he was 8 and he did just fine. I’d stay away from pistols.
Post #3 is good advice.
Most of us that grew up learning, knowing and using guns responsibly started on .22 rifle.
The semi-handgun can be fun to shoot but not good to learn with (IMO).