Cmd + Space
, then type Terminal
).xcode-select --install
) provides UNIX tools like git
, gcc
, make
, and compilers.Feature | Terminal | CLI | Xcode |
---|---|---|---|
Definition | App that gives access to CLI | Interface for running text-based commands | Full development environment (IDE) |
Purpose | Executes commands | Controls the system using commands | Builds macOS & iOS apps |
Example Command | ls , cd , pwd |
git , gcc , python |
GUI for coding in Swift, C, C++ |