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. Create & Find Files — 新建和查找文件
🇨🇳 中文
文件都存在硬盘(SSD)里。新建文件有两条路:在 Finder 里直接建,或在程序里(比如 TextEdit)写完再保存。要找回它们,用 Spotlight(最快)或 Finder 搜索。
下面分新建和查找两部分 — 每张卡都给具体快捷键。
🇬🇧 English
Every file lives on your hard drive (the SSD). You make new files two ways — directly in Finder, or inside an app like TextEdit, then save. You find them again with Spotlight (fastest) or Finder Search.
Two parts below — Create and Find — each card has the exact keystrokes.
🆕 Create — 新建
在 Finder 里打开目标位置,按 ⌘+⇧+N;或在空白处右键 → 新建文件夹。输入名字,回车。
最简单的「新建文件」程序。Spotlight 搜 TextEdit 打开,写点东西,⌘+S,选位置、起名字、保存。
⌘+S 覆盖保存;⌘+⇧+S 另存一份(新名字或新位置)。
桌面或 Finder 窗口空白处,两指点击(或按住 Control 点击)→ 新建文件夹。
touch / mkdirmkdir my-project makes a folder, touch hello.txt makes an empty file. Both land in your current folder — use pwd first to check where you are.终端里
mkdir my-project 建文件夹,touch hello.txt 建空文件。先用 pwd 看你在哪。从网页、邮件、截图或别的文件夹拖文件到 Finder — 放到哪儿就存到哪儿。
Screenshot 2026-05-16 at 14.30.15.png. To copy to clipboard without creating a file, add ⌃: ⌃+⌘+⇧+4.⌘+⇧+3 截整个屏幕,⌘+⇧+4 框选区域,⌘+⇧+5 打开截图工具条(还能录屏)。三个都默认保存 PNG 到桌面,文件名是「Screenshot 2026-05-16 at 14.30.15.png」。想直接复制到剪贴板不存文件就加 ⌃ 键:⌃+⌘+⇧+4。
任何程序按 ⌘+P 调出打印对话框 — 左下角有个「PDF ▾」下拉,选「存储为 PDF」。Safari 网页、邮件、Word、照片,凡是能打印的都能转成 PDF。Mac 自带的「网页存 PDF」功能,不用装任何插件。
~/Documents/projects/); you can drag a folder from Finder into the sheet to jump there; and the Tags field tags the file at save time, no separate step.保存对话框文件名旁有个小▾箭头 — 点开变成完整的文件夹浏览器。保存框里能按 ⌘+⇧+G 直接输入路径(如
~/Documents/projects/),从 Finder 拖个文件夹进来直接跳过去,「标签」一栏存文件时就能加颜色标签 — 一步到位。做一份干净的信纸/发票/项目骨架,选中 → ⌘+I → 勾「模板」(Stationery pad)。以后双击它,永远打开一份副本,原文件碰不到。Mac 从 1991 年就内置的模板系统,不用装任何软件。
📍 Where do new files land? — 新文件默认存到哪?
~/Desktop — saved to the Desktop. Easy to find, gets cluttered fast. / 桌面 — 好找但容易乱。
~/Downloads — Safari, Mail attachments, most browsers drop files here automatically. / 下载 — Safari 和邮件附件默认存这里。
~/Documents — standard home for your work (essays, projects, code). / 文档 — 学习和工作文件的标准位置。
~/Pictures, ~/Music, ~/Movies — Photos, Music, iMovie write here automatically. / 图片、音乐、影片 — 对应程序自动存这里。
The ~ symbol is shorthand for your Home folder, which is /Users/yourname/. / ~ 是你主目录的简写,等于 /Users/你的用户名/。
📦 Manage — 整理(移动·复制·改名·删除)
🇨🇳 中文
文件建好以后,日常做的事其实就是移动、复制、改名、删除、预览。Mac 这几个动作和 Windows 有几处很关键的不同 — 比如文件没有 ⌘X 剪切,回车是改名不是打开 — 不弄清楚很容易踩坑。
🇬🇧 English
Once files exist, day-to-day work is moving, copying, renaming, deleting, previewing. macOS does several of these differently from Windows — there's no ⌘X for files, Return renames instead of opens — so it pays to learn the Mac way once.
Finder 里拖文件 — 同一个硬盘是「移动」,不同硬盘(比如拖到 U 盘)是「复制」。按住 ⌘ 强制移动,按住 ⌥ 强制复制(光标上会出现绿色 +)。
⌘+C 复制,⌘+V 粘贴。但 Mac 文件没有 ⌘+X 剪切!要「移动」就先 ⌘+C 复制,到目标位置按 ⌘+⌥+V — 等于剪切+粘贴。
选中文件按「回车」就能改名 — 这是 Mac 和 Windows 最大的差别:Windows 回车 = 打开文件,Mac 回车 = 改名。要打开请双击或按 ⌘+O。
filename copy.ext right next to the original — perfect for "let me try editing this, but keep a safe original."选中文件按 ⌘+D — 在原位置生成「filename copy.ext」副本。改文件前先复制一份保底,最安全。
⌘+⌫ 放进废纸篓(可恢复);⌘+⇧+⌫ 清空废纸篓;⌘+⌥+⌫ 不进废纸篓直接删除。废纸篓里超过 30 天的可设置自动清除(Finder → 设置 → 高级里开关)。
选中文件按「空格键」 — 立刻弹出大预览窗。图片、PDF、视频、音频、代码、甚至 Word/Excel 都能看,不需要打开任何程序。再按一次空格关闭。多选时按方向键来回切换。Mac 最贴心的设计之一。
选中文件按 ⌘+I — 看大小、修改日期、「来源」(下载的能看到原网址)。「打开方式」可改这一个文件的默认程序,点「全部更改」就把所有同类型文件都改了。
Finder 里 ⌘+Z 撤销上一步 — 不小心拖错位置、改错名字、误删?立刻按它。最近的操作能撤,多按几次能撤更早的。
📌 Three more tricks worth knowing — 三个值得记住的小技巧
🔗 Alias 别名: select a file, press ⌘+⌃+A — creates a shortcut you can drop on the Desktop or anywhere. The alias keeps working even if the original file is moved (macOS tracks it by ID, not path). / 选中文件按 ⌘+⌃+A — 生成快捷方式,拖到桌面或哪儿都行。原文件就算挪了位置,别名照样指得到(Mac 用 ID 追踪,不是路径)。
🗜️ Compress 压缩: right-click any file or folder → Compress. Makes a .zip right next to it. To unzip, just double-click — macOS extracts automatically, no app needed. / 右键文件或文件夹 → 压缩 — 旁边出现 .zip。解压双击就行,macOS 自动解压,不用装软件。
☁️ iCloud Drive: if you turned on Desktop & Documents in iCloud (System Settings → Apple ID → iCloud Drive), those folders sync to all your Apple devices. A cloud icon on a file means "in iCloud, not yet downloaded" — click to download. A dotted-circle ⊙ means "uploading right now." / 如果开了「桌面与文稿同步到 iCloud」(系统设置 → Apple 账户 → iCloud 云盘),这两个文件夹会同步到所有苹果设备。文件名旁的云朵图标 = 「在云上,还没下到本机」点一下就下载;小圆圈 ⊙ = 「正在上传」。
🔍 Find — 查找
按 ⌘+空格,输入文件名的任何一部分,回车打开。macOS 上最快的查找方法,没有之一。
Finder 里按 ⌘+F。上面可以限定「整台 Mac」或「当前文件夹」,还能按类型、日期、大小筛选。
Finder 侧边栏「最近」— 按时间倒序列最近打开或保存的文件。「我刚刚存了个文件去哪了?」就靠它。
/Users/student/Documents or ~/Library — and jump there instantly. Works for hidden folders too.Finder 里按 ⌘+⇧+G,输入路径(如
/Users/student/Documents 或 ~/Library)直接跳过去 — 隐藏文件夹也行。右键文件 → 选个颜色标签。然后 Finder 侧边栏「标签」就列出所有这颜色的文件,不管放哪儿。
find / mdfindfind ~ -name "*.pdf" lists every PDF in your Home folder. mdfind "khao soi" is Spotlight on the command line — much faster than find.终端里
find ~ -name "*.pdf" 列出主目录下所有 PDF;mdfind "khao soi" 是命令行版 Spotlight — 比 find 快得多。•
64*1024 — instant calculator, no app•
100 usd to thb — live currency conversion•
100 km in miles — unit conversion•
define ephemeral — Mac dictionary•
weather bangkok · stocks aapl — quick lookups•
kind:pdf invoice, date:today, created:this week — search operators that filter by type/date按 ⌘+空格后输入:64*1024 当计算器;100 usd to thb 实时汇率;100 km in miles 单位换算;define ephemeral 查英文词典;weather bangkok 看天气;stocks aapl 看股票;
kind:pdf invoice、date:today 等过滤搜索 — 一个 Spotlight 顶十个工具。~/Documents" — then Save. The Smart Folder appears in your sidebar and auto-updates as files come and go. It doesn't move anything, just shows a live filtered view.Finder → 文件 → 新建智能文件夹(或 ⌘+⌥+N)。设条件:「最近 7 天改过的 PDF」、「~/Documents 里大于 5MB 的图片」之类,保存。智能文件夹出现在侧边栏,文件多了少了它自动跟新 — 它不移动文件,只给你一个实时筛选视图。
Finder 有 4 种视图:图标 ⌘1、列表 ⌘2、分栏 ⌘3、画廊 ⌘4。分栏视图是看深路径的神器 — 每点一个文件夹右边就开一栏,最右栏自动预览选中文件和元数据。←/→ 在栏之间进出,↑/↓ 在栏内移动。一旦习惯了再也回不去了。
Spotlight 里按回车是打开文件 — 按 ⌘+回车则跳到 Finder 里、自动选中那个文件。「搜到了但不知道存哪儿」就靠它。很多程序也有「文件 → 在 Finder 中显示」直接定位当前编辑的文件。
• ⌘+⇧+H — Home (你的主目录)
• ⌘+⇧+D — Desktop (桌面)
• ⌘+⌥+L — Downloads (下载)
• ⌘+⇧+O — Documents (文稿)
• ⌘+⇧+A — Applications (应用程序)
• ⌘+⇧+U — Utilities (实用工具)
• ⌘+⇧+I — iCloud Drive
Memorize 2-3 you use daily — they save dozens of clicks.
Finder「前往」菜单里有一堆快捷键直达常用文件夹(如上)。挑两三个最常用的记住,每天能省几十次点击。
Finder → 显示 → 显示路径栏(⌘+⌥+P)— 窗口底部出现完整路径面包屑,双击任一段直接跳过去。显示状态栏(⌘+/)显示文件数量和剩余硬盘空间。这两个默认是关的,开一次就再也不想关了。
👀 Show extensions & hidden files — 显示扩展名和隐藏文件
Extensions: Finder menu → Settings → Advanced → Show all filename extensions. Now you can tell photo.jpg from photo.heic at a glance.
扩展名:Finder 菜单 → 设置 → 高级 → 显示所有文件扩展名 — 一眼分清 photo.jpg 和 photo.heic。
Hidden files: in any Finder window press ⌘+⇧+. (period) to toggle. Files starting with . are almost always app settings — don't delete them blindly.
隐藏文件:Finder 窗口里按 ⌘+⇧+句号 切换显示。以「.」开头的几乎都是程序配置 — 别乱删。
Try it right now — 现在动手试
Press ⌘+Space, type "TextEdit", press Return. Type "Hello world." Press ⌘+S, name it hello.txt, save to Desktop. Then press ⌘+Space again, type "hello" — Spotlight finds it. You just created and found a file.
按 ⌘+空格 → 输入 TextEdit → 回车。打 "Hello world." 然后 ⌘+S,命名 hello.txt,存到桌面。再按一次 ⌘+空格,输入 "hello" — Spotlight 立刻找到。你已经会新建和查找文件了。
6. App Store · Spotlight · Mission Control
🇨🇳 中文
除了 Finder,macOS 还有几个必学的功能:
🇬🇧 English
Besides Finder, macOS has a few more must-know tools:
苹果官方商店 — 每个程序都查过,安全。免费和付费都有。
最快的打开方式。按 ⌘+空格,开始打字 — 程序、文件、计算都能搜。
看见所有打开的窗口。三指上滑或按 F3。
壁纸、Wi-Fi、声音、辅助功能、隐私 — 都在这里。
免费记笔记的程序,自动同步到 iPhone。
⌘+⇧+4 框选截图,⌘+⇧+3 全屏截图。
7. 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
8. 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显示文本文件的内容。
9. 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 之后,你就再也不用一个一个下载安装包了。一行命令,搞定。
10. 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、终端,还会用命令行装软件 — 真正像程序员一样。