Fix 'Command Not Found' Error on Mac Terminal - How to Set Up Command Prompt in Windows-Fix Windows Terminal Permission Denied Error on Launch

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.