# [其他] Macbook Pro 設定 ###### tags: `其他` ## 設備資訊 設備:Macbook Pro M3 macOS:Sonoma 14.2 :::info 1. 先安裝 Homebrew,Homebrew 會需要下載 Command Line Tools for Xcode,等待時間可以去安裝 NVM 或設定 Terminal 主題 2. 透過 Homebrew 安裝軟體時先裝 **Warp**,裝好後打開 `Settings` > `Features` > `Session`,開啟 `Receive desktop notifications from Wrap` 3. 使用 **Warp** 輸入指令安裝軟體,等待時間可以進行其他系統設定 ::: ## 設定 macOS 內建的 Terminal 主題 :::info [mbadolato / iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes) ::: 喜歡的主題有:`Belafonte Day`, `Chalk`, `iceberg-light`, `Seafoam Pastel`, `Violet Light`, `wilmersdorf`, `zenburned`(設為預設值) 1. 下載資料夾 `/terminal` 的內容 2. 開啟 `終端機` 的 `偏好設定`,在 `描述檔` 頁點 `輸入`,選擇 `/terminal` 內喜歡的主題 ## 安裝軟體 * [Homebrew](https://brew.sh) * 安裝:`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` * 若出現 `Warning: /opt/homebrew/bin is not in your PATH.` 訊息,需執行 `Next steps` 的內容。(這時使用 Homebrew 指令會出現 `zsh: command not fount: brew`) ```bash ==> Pouring portable-ruby-3.1.4.arm64_big_sur.bottle.tar.gz Warning: /opt/homebrew/bin is not in your PATH. Instructions on how to configure your shell for Homebrew can be found in the 'Next steps' section below. ==> Next steps: - Run these two commands in your terminal to add Homebrew to your PATH: (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/電腦的使用者名稱/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" ``` * [NVM](/GTgpkSS-QSOteH67zmkXHQ) * [Chrome Extensions](/QgAAjKPNTrG4GYKsy9eOBA) * [Visual Studio Code Extensions](/kYauX-T-R2eUEDXVW3kmYQ) * [LINE](https://line.me/tw) ### 透過 Homebrew 安裝 :::info [Homebrew Formulae](https://formulae.brew.sh/cask) ::: | 軟體 | 安裝指令 | | ---------------------------------------------------------------- | ---------------------------------------- | | [Warp](https://www.warp.dev) | `brew install --cask warp` | | [Google Chrome](https://www.google.com/intl/zh-TW/chrome ) | `brew install --cask google-chrome` | | [Firefox](https://www.mozilla.org/zh-TW/firefox/new) | `brew install --cask firefox` | | [Microsoft Edge](https://www.microsoft.com/zh-tw/edge) | `brew install --cask microsoft-edge` | | [Visual Studio Code](https://code.visualstudio.com) | `brew install --cask visual-studio-code` | | [Sourcetree](https://www.sourcetreeapp.com) | `brew install --cask sourcetree` | | [GitHub Desktop](https://desktop.github.com) | `brew install --cask github` | | [Docker Desktop](https://www.docker.com/products/docker-desktop) | `brew install --cask docker` | | [Postman](https://www.postman.com/downloads) | `brew install --cask postman` | | [Google Drive](https://www.google.com/drive/download) | `brew install --cask google-drive` | | [Spotify](https://open.spotify.com) | `brew install --cask spotify` | | [IINA](https://iina.io) | `brew install --cask iina` | | [Messenger](https://www.messenger.com/desktop) | `brew install --cask messenger` | | [zoom&#46;us](https://zoom.us/zh-tw/download#client_4meeting) | `brew install --cask zoom` | | [TeamViewer](https://www.teamviewer.com/tw/download/macos) | `brew install --cask teamviewer` | | [Git](https://git-scm.com) | `brew install git` | | [ngrok](https://ngrok.com/download) | `brew install ngrok/ngrok/ngrok` | * ngrok add authtoken: `ngrok config add-authtoken <token>` ## 系統設定 ### 一般 #### 日期與時間 * 24 小時制:開啟 #### 儲存空間 * 音樂:刪除 GarageBand 音樂資料庫 * 應用程式 * 移除 * GarageBand:學習、演奏、錄製、創作音樂 ### 控制中心 #### 控制中心模組 * 藍牙:在選單列中顯示 * 聲音:永遠在選單列中顯示 #### 其他模組 * 電池:顯示百分比 #### 僅選單列 * 時鐘:顯示時間秒數 ### 隱私權與安全性 #### 隱私權 * 分析與改進功能:全部關閉 ### 桌面與 Dock * 自動隱藏和顯示 Dock:開啟 * 在 Dock 中顯示建議的和最近使用過的 App:關閉 #### 小工具 * 預設網頁瀏覽器:Google Chrome #### 熱點 * 右上:鎖定螢幕 ### 鎖定螢幕 * 閒置時啟動螢幕保護程式:5分鐘 * 顯示使用者名稱和照片:關閉 * 螢幕保護程式啟動或螢幕關閉後需要密碼:5秒後 ### Touch ID 與密碼 * 將 Touch ID 用於 Apple Pay:關閉 * 使用 Touch ID 來在 iTunes Store、Apple Store 和 Apple Books 中購物:關閉 ### 鍵盤 * 鍵盤亮度:關閉 * 閒置後關閉鍵盤背光:5秒後 #### 文字輸入 * 輸入方式 * 使用智慧型引號和破折號:關閉 * 新增輸入方式:2-set 韓文 ### 觸控式軌跡板 * 更多手勢 * App Exposé:用三指向下滑動 ## Finder * 顯示路徑列:`option` + `command` + `p` * 顯示隱藏檔案:`shift` + `command` + `.` * 顯示預覽:`shift` + `command` + `p` ### 設定 #### 一般 * 開啟新 Finder 視窗時顯示:使用者 #### 側邊欄 * 喜好項目 * 移除:最近項目 #### 進階 * 顯示所有檔案副檔名:勾選 --- :::info 建立日期:2024-01-20 更新日期:2024-01-22 :::