Try   HackMD

安裝 Cmder 教學

Download and install Cmder on Win10 tutorials.

安裝 Cmder

  1. 進入 官方網站 Officical Website
  2. 進入頁面後,找到 "Download",並點選紅框
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  3. 下載完成後,對該檔案進行解壓縮即可使用。

修正殘留文字問題

  • 開啟安裝目錄下的cmder\vendor\clink.lua檔案將"
    λ
    "更改為"$"字符。
    ​​​​local lambda = "$"

VS Code 相關設定

  1. 點選左下 "設定" 圖示,選擇 "Settings",接著點選右上方 "Open Settings(JSON)"
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  2. "settings.json" 檔案寫入以下代碼,大致上就完成啦。
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
    檔案路徑請再根據現場狀況填寫
    ​​​​{
    ​​​​    "terminal.integrated.profiles.windows": {
    ​​​​        "PowerShell": {
    ​​​​            "source": "PowerShell",
    ​​​​            "icon": "terminal-powershell"
    ​​​​        },
    ​​​​        "Command Prompt": {
    ​​​​            "path": [
    ​​​​                "${env:windir}\\Sysnative\\cmd.exe",
    ​​​​                "${env:windir}\\System32\\cmd.exe"
    ​​​​            ],
    ​​​​            "args": [],
    ​​​​            "icon": "terminal-cmd"
    ​​​​        },
    ​​​​        "Git Bash": {
    ​​​​            "source": "Git Bash"
    ​​​​        },
    ​​​​        "Cmder": {
    ​​​​            "path": [
    ​​​​                "${env:windir}\\Sysnative\\cmd.exe",
    ​​​​                "${env:windir}\\System32\\cmd.exe"
    ​​​​            ],
    ​​​​            "args": [
    ​​​​                "/K",
    ​​​​                "C:\\Users\\USER\\Documents\\cmder\\vendor\\bin\\vscode_init.cmd" // Cmder安裝路徑
    ​​​​            ]
    ​​​​        }
    ​​​​    },
    ​​​​    "terminal.integrated.defaultProfile.windows": "Cmder"
    ​​​​}
    

參考資料