內容描述
這支影片教你 Windows Terminal 和 PowerShell 的基本操作。
如果你是剛開始學開發的新手,後面在安裝 Docker、uv、Python、Node.js、Git、VS Code,或啟動專案時,都會常常看到需要輸入指令的畫面。
這支影片會帶你熟悉終端機的基本概念,學會查看目前位置、切換資料夾、列出檔案、建立資料夾、確認工具版本,以及在 VS Code 裡使用終端機。
本影片提供多語字幕:繁體中文、英文、日文、韓文。
Subtitles are available in Traditional Chinese, English, Japanese, and Korean.
本影片會包含:
- Windows Terminal 是什麼
- PowerShell 是什麼
- 終端機提示字元怎麼看
- 使用 pwd 查看目前位置
- 使用 ls / dir 列出檔案
- 使用 cd 切換資料夾
- 使用 cd .. 回上一層
- 使用 cd ~ 回到使用者目錄
- 使用 mkdir 建立資料夾
- 使用 New-Item 建立檔案
- 使用 cls / clear 清除畫面
- 使用 Tab 自動補全
- 使用 Ctrl + C 停止指令
- 使用 --version 確認工具是否安裝成功
- 在 VS Code 開啟內建終端機
- 常見錯誤:找不到指令、找不到資料夾、執行位置錯誤
常用指令:
pwd
ls
dir
cd Desktop
cd ..
cd ~
mkdir terminal-demo
New-Item hello.txt
Get-Content hello.txt
cls
clear
確認工具版本:
node --version
npm --version
python --version
uv --version
docker --version
git --version
如果你正在準備 Windows 上的開發環境,建議先學會 PowerShell 基本操作,再開始安裝 Docker、uv、VS Code、Node.js、Git 與 DBeaver。
完整課程與後續內容會整理在 NXLayer:
https://learning.nxlayer.app