macOS mặc định chỉ cho cài app từ App Store và các nhà phát triển được xác thực (Gatekeeper). Để cài app từ nguồn bất kỳ (Allow apps from anywhere), cần thực hiện qua Terminal.
Phần 1. Bật Tùy Chọn “Anywhere” Trong Security & Privacy
- Mở Terminal (Spotlight: ⌘Space gõ Terminal).
- Chạy lệnh:
Nhập mật khẩu admin (không hiển thị) ▸ Enter.sudo spctl --master-disable - Mở System Preferences ▸ Security & Privacy ▸ General.
- Dưới “Allow apps downloaded from”, chọn Anywhere (Mọi nơi).

Lưu ý: macOS Ventura trở đi, cài đặt này nằm ở System Settings ▸ Privacy & Security ▸ Security.
Phần 2. Mở App Bị Chặn Bởi Gatekeeper Không Cần Tắt Toàn Bộ
Nếu chỉ muốn mở một app cụ thể bị chặn (“from unidentified developer”):
- Mở Finder ▸ Go ▸ Applications.
- Chuột phải (hoặc Control-click) vào app ▸ chọn Open.
- Nhấn Open trong hộp thoại cảnh báo. App sẽ được thêm vào danh sách ngoại lệ.

Cách này an toàn hơn tắt Gatekeeper hoàn toàn.