What is macOS? — macOS 是什么?
🇨🇳 中文
macOS(读作"mac-O-S")是苹果公司为它的电脑(MacBook、iMac、Mac mini、Mac Studio)设计的操作系统(
和 Windows 是两兄弟 — 同样的目的,但风格、命令、做事方法都不一样。学一个,另一个就好上手。
🇬🇧 English
macOS (say "mac-oh-ess") is the
It's a sibling of Windows — same job, different style, different commands, different way of doing things. Learn one, and the other becomes easier.
🍎 macOS
- Made by Apple, for Apple computers / 苹果造,只在苹果电脑上跑
- Built on Unix / 底层是 Unix(和 Linux 是亲戚)
- Stable, secure, popular for design & development / 稳定、安全,设计师和程序员爱用
- Apps end in
.app/ 程序的扩展名是.app
🪟 Windows
- Made by Microsoft, runs on most PCs / 微软造,多数 PC 都能跑
- Built on the Windows NT kernel / 底层是 Windows NT 内核
- Most common in offices and gaming / 办公和游戏最常见
- Apps end in
.exe/ 程序的扩展名是.exe
1. Hardware — 硬件 (Click the dots / 点蓝点)
🇨🇳 中文
硬件就是你能摸到的部分 —
🇬🇧 English
Hardware is the part you can touch — chips, screen, keyboard, battery. Click the blue dots on the diagram below to learn about each part.
👆 Click a blue dot above / 点上面的蓝点
Tap on any number to see what it is. / 点数字看说明。
苹果自家芯片把 CPU、GPU、内存放在同一块硅片上 — 又快又省电。
负责画屏幕上的每个像素 — 玩游戏、剪视频靠它。
短期记忆 — 装现在打开的程序。建议至少 16 GB。
长期记忆 — 关机也不会丢。
充电、外接屏幕、硬盘都用 USB-C。
视频通话用,在屏幕上方。
2. The Operating System — 系统的五层 (Click each layer / 点每层)
🇨🇳 中文
软件不是一整块 — 它分层。每层只管自己的事,互相用接口(
🇬🇧 English
Software is not one big blob — it's made of layers. Each layer does its own job and talks to the others through interfaces (
👆 Click a layer above / 点上面的某一层
🌟 Fun Facts — 有意思的事
- macOS started life as NeXTSTEP in 1989. Apple bought NeXT in 1996 and Steve Jobs came back. / macOS 的祖先是 1989 年的 NeXTSTEP。1996 年苹果收购 NeXT,乔布斯回归。
- The latest version is macOS 15 Sequoia. Each version is named after a place in California. / 最新版叫 Sequoia (15)。每一版都用加州的地方命名。
- Because macOS is built on Unix, almost every Linux command works in the Terminal. / macOS 基于 Unix,所以 Linux 命令在终端里也能用。
3. The Dock — 程序坞 (Hover the icons / 鼠标移上去)
🇨🇳 中文
Dock 是屏幕底部那条常用程序栏。点一下打开程序,长按右键能看更多选项。把鼠标移到下面试试 — 它会跳出来。
🇬🇧 English
The Dock is the bar of favorite apps at the bottom of your screen. Click an icon to launch it, right-click for more options. Hover over the dock below — the icons jump up.
👆 Click a Dock icon to learn what it does. / 点 Dock 里的图标看说明。
4. Finder — 访达(文件管理器)
🇨🇳 中文
Finder 就是 macOS 里的
试试下面的 Finder! 点左边的文件夹切换。
🇬🇧 English
Finder is macOS's
Try the Finder below! Click folders on the left to switch.
开机后看到的那个屏幕。
~ symbol means "Home" in the terminal.你自己的文件夹。终端里
~ 就是它。装文件的盒子。桌面上右键 → 新建文件夹。
.jpg, .mp3, .txt).一个文档 — 照片、歌、文字、视频。有名字和扩展名。
5. App Store · Spotlight · Mission Control
🇨🇳 中文
除了 Finder,macOS 还有几个必学的功能:
🇬🇧 English
Besides Finder, macOS has a few more must-know tools:
苹果官方商店 — 每个程序都查过,安全。免费和付费都有。
最快的打开方式。按 ⌘+空格,开始打字 — 程序、文件、计算都能搜。
看见所有打开的窗口。三指上滑或按 F3。
壁纸、Wi-Fi、声音、辅助功能、隐私 — 都在这里。
免费记笔记的程序,自动同步到 iPhone。
⌘+⇧+4 框选截图,⌘+⇧+3 全屏截图。
6. Keyboard Shortcuts — 键盘快捷键 (Click to hear / 点听发音)
🇨🇳 中文
专业用户和新手最大的区别就是 — 用快捷键。Mac 用 ⌘ Command 键代替 Windows 的 Ctrl。点下面卡片听英文怎么说。
🇬🇧 English
The biggest difference between a beginner and a pro is shortcuts. On Mac, the ⌘ Command key takes the place of Windows's Ctrl. Click any card to hear it spoken.
💡 Mac Symbol Decoder — Mac 符号速查
⌘ = Command (命令) · ⌥ = Option(选项 = Windows 的 Alt) · ⌃ = Control · ⇧ = Shift · ⏎ = Return(回车) · ⎋ = Esc · ⌫ = Delete
7. Terminal — 终端 (Real Practice / 真的可以打)
🇨🇳 中文
终端(Terminal)是程序员的魔法棒 🪄。它让你不用鼠标,只用命令就能控制电脑。开始可能怕怕的 — 黑底白字像电影里的黑客 — 但它非常强大。
macOS 自带终端 — Spotlight 搜 "Terminal" 就能打开。下面是个真的可以用的模拟终端,试试看!
🇬🇧 English
The Terminal is a programmer's magic wand 🪄. It lets you control the computer using commands instead of a mouse. It can look scary at first — black background, white text, very "hacker movie" — but it's incredibly powerful.
macOS comes with Terminal built in — search "Terminal" in Spotlight to open it. Below is a working terminal simulator you can practice with right now!
pwd显示你现在在哪个文件夹。
lsls -la for details.列出文件夹里的东西。
ls -la 看详情。cdcd .. = up one level. cd ~ = home.切换文件夹。
cd .. 回上一层,cd ~ 回主目录。mkdirmkdir my-project creates a folder.新建文件夹。
touchtouch hello.txt.新建一个空文件。
rm / rm -rfrm deletes a file. rm -rf deletes folders too — cannot be undone!删除。
rm -rf 删整个文件夹 — 没回收站,删了就没了!cp / mvcp a.txt b.txt. mv a.txt ~/Desktop/.复制和移动。
cat显示文本文件的内容。
8. Installing Software via Command Line — 用命令行装软件
🇨🇳 中文
程序员装东西最快的方法是用包管理器(
Mac 上最流行的叫 Homebrew(家酿啤酒 🍺)。它是免费、开源的,由志愿者维护。
🇬🇧 English
The fastest way for developers to install things is with a package manager — one command and it's done.
The most popular one on Mac is Homebrew 🍺. It's free, open source, and maintained by volunteers around the world.
Step 1: Install Homebrew — 安装 Homebrew
Open Terminal and paste this single line:
打开终端,粘贴这一行命令:
⚠️ What this does — 这一行做了什么
中文: curl 从 GitHub 下载安装脚本,bash 运行它。它会自己装好所有需要的东西。只装一次,以后用 brew 命令就行。
English: curl downloads the install script from GitHub, bash runs it. Brew installs everything it needs automatically. Install once, then use brew commands forever.
Step 2: Common brew Commands — 常用 brew 命令
brew install python装 Python(或别的工具)。
brew install --cask vscode--cask = a normal Mac app like VS Code, Chrome, Slack.--cask 装图形界面程序,比如 VS Code、Chrome。brew search node搜 Brew 库里有没有这个软件。
brew list看你已经装了哪些。
brew update更新 brew 的软件清单。
brew upgrade把你装过的所有软件升级。
brew uninstall git卸载某个软件。
brew doctor检查 brew 的状态有没有问题。
Step 3: A Real Setup — 一个真实的开发环境
Here's what a high schooler learning to code might install on Day 1:
下面是高中生第一天学编程可能会装的:
The Power of One Line — 一行命令的力量
Once you learn brew, you'll never download installers again. One command. Done.
学会 brew 之后,你就再也不用一个一个下载安装包了。一行命令,搞定。
9. Quick Quiz — 小测验
ls command do?ls 命令做什么?ls = "list" — it shows files in the current folder. / ls 显示当前文件夹里有什么。brew install python do?brew install python 做什么?brew) is a package manager. brew install python downloads and installs Python in one step. / brew 是包管理器,一行命令装好 Python。rm -rf?rm -rf 要小心用?rm -rf deletes folders and everything inside permanently. There's no Trash — once gone, it's gone. / rm -rf 直接删除,没回收站、没办法撤销。You did it! — 你做到了!
You now know macOS hardware, OS layers, the apps, the Dock, the Finder, the Terminal, and how to install software like a developer.
现在你已经懂了 macOS 的硬件、系统层次、常用程序、Dock、Finder、终端,还会用命令行装软件 — 真正像程序员一样。