How to Download the Full macOS Installer from Terminal

Illustration for How to Download the Full macOS Installer from Terminal

Quick Answer To download the full macOS installer, open Terminal and run: softwareupdate –list-full-installers This displays the macOS installers available for your Mac. Then download the version you want with: softwareupdate –fetch-full-installer –full-installer-version VERSION Replace VERSION with the exact version shown in the list, such as 15.3.1 or 14.7.5. The installer is saved in the … Read more

How to Check Open Network Connections on a Mac Using Terminal

Illustration for How to Check Open Network Connections on a Mac Using Terminal

Quick Answer To see open network connections on your Mac, open Terminal and run: lsof -i This lists processes that currently have network sockets open, including the application name, process ID, user, network protocol, local address, and remote address. For a more focused view of active TCP connections, use: lsof -nP -iTCP -sTCP:ESTABLISHED You can … Read more

How to Test Internet Connectivity with ping and traceroute on a Mac

Illustration for How to Test Internet Connectivity with ping and traceroute on a Mac

When a website will not load or your Mac seems disconnected, Terminal’s ping and traceroute commands can help identify where the problem is. ping tests whether a destination responds over the network, while traceroute shows the network hops between your Mac and that destination. Quick Answer Open Terminal from Applications > Utilities. Test a destination … Read more

How to Check DNS Settings and DNS Resolution in Terminal on a Mac

Illustration for How to Check DNS Settings and DNS Resolution in Terminal on a Mac

DNS, or the Domain Name System, translates website names such as 4macos.com into IP addresses that computers use to connect. When browsing is slow or a website will not open, checking DNS settings and testing DNS resolution in Terminal can help determine whether the problem is with your Mac, your network, or the DNS service … Read more