{"id":19489226,"url":"https://github.com/inndy/windows-sucks","last_synced_at":"2025-08-18T05:13:21.593Z","repository":{"id":66330705,"uuid":"172676020","full_name":"Inndy/windows-sucks","owner":"Inndy","description":"How to survive in Windows world (as a developer who loves unix)","archived":false,"fork":false,"pushed_at":"2024-02-20T17:46:44.000Z","size":37,"stargazers_count":89,"open_issues_count":0,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-12T13:17:06.852Z","etag":null,"topics":["guide","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Inndy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-26T09:06:08.000Z","updated_at":"2024-12-02T03:26:03.000Z","dependencies_parsed_at":"2025-06-25T02:38:32.159Z","dependency_job_id":"ab334c09-8d60-4634-83d4-c2f496dd7fc7","html_url":"https://github.com/Inndy/windows-sucks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Inndy/windows-sucks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fwindows-sucks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fwindows-sucks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fwindows-sucks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fwindows-sucks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inndy","download_url":"https://codeload.github.com/Inndy/windows-sucks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fwindows-sucks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270946068,"owners_count":24672890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["guide","windows"],"created_at":"2024-11-10T21:07:49.352Z","updated_at":"2025-08-18T05:13:21.568Z","avatar_url":"https://github.com/Inndy.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows 完全求生指南\n\n這份文件的產生是因為我最近工作筆電換成了公司配的 ~~ThinkPad X1 Carbon~~ DELL Latitude 5420，所以工作環境從 macOS\n變成了 Windows。作為一個平常工作大量依賴鍵盤與 Commandline 的人， 一定要想辦法打造一個\n舒適的工作環境，想辦法活下去！\n\n如果你覺得有什麼更好用的競品，或是覺得很實用的軟體都歡迎開 issue 提供、討論。\n\n## 實用工具\n\n### [PowerToys](https://github.com/microsoft/PowerToys)\n\n- 絕對不只是 Toys！\n- PowerToys Run 可以取代 Wox\n- FancyZones 可以快速排列視窗到預先規劃好的區域\n- File Explorer Add-ons 可以讓檔案管理員預覽 Markdown 跟 SVG\n- Keyboard Manager 可以 re-map 鍵盤按鍵\n\n### ~~[Wox](http://www.wox.one/)~~\n\n- 用 PowerToys Run 就好了\n- 把 Spotlight 帶到 Windows 上！\n- 把預設的 HotKey 改成 Ctrl-Alt-Space，因為 Alt-Space 去移動、縮放視窗很好用\n- 其他競品\n\t- ~~[Ueli](https://ueli.app/)~~\n\n\u003e TODO: 附上 Wox 設定檔\n\n### [ShareX](https://getsharex.com/)\n\n- Windows 內建的 PrtScrn 有夠爛，這工具用起來就像 Mac 的截圖 Command-Shift-3\n- 其他競品\n\t- [LightShot](https://app.prntscr.com/)\n\t- [Win-Shift-S](https://support.microsoft.com/help/4488540/windows-10-how-to-take-and-annotate-screenshots)\n\n### [Everything](https://www.voidtools.com/)\n\n- 你不會想用 Windows 內建的搜索功能的...\n- 裝好就可以[關掉 Windows 內建的 search service](https://j.mp/disable-windows-search-service)\n- 裝了之後直接設定開機自動啟動，或是 Run as Service\n- 我自己設定了 HotKey Ctrl-Alt-F\n\n### ~~[Stardock Fences](https://www.stardock.com/products/fences/)~~\n\n- 反正後來我都把桌面 Icon 關閉\n- 老牌軟體，讓你的桌面井然有序，不過要付費\n- 不想付錢可以試試 [Nimi Places](https://www.playpcesor.com/2013/07/nimi-places.html) 或其他替代品\n\n## Terminal Emulator\n\n### [Windows Terminal](https://github.com/microsoft/terminal)\n\n- 微軟官方推出的新一代 Terminal，支援 GPU 加速\n- 唯一缺點是，把檔案拖拉到 Windows Terminal 視窗內的時候，不會自動轉換成 `/mnt/` 的路徑，但是 WSLTTY 可以\n\n設定檔在這： [windows-terminal-settings.json](windows-terminal-settings.json)\n\n我做了一個程式，註冊一個 global hotkey 來切換 Windows Terminal，行為有點像 iTerm2 的 `Toggle All Windows`，\n可以在 [Inndy/TerminalSummoner](https://github.com/Inndy/TerminalSummoner) 找到\n\n### ~~[WSLTTY](https://github.com/mintty/wsltty)~~\n\n### ~~[Cmder](https://cmder.net/)~~\n\n- ~~Windows 最強 Terminal Emulator~~ 我覺得不容易設定\n- 支援 cmd / PowerShell / WSL / cygwin\n\n## Package Manager\n\n### [Winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/)\n\n- apt-get for Windows\n\n### [scoop](https://scoop.sh/)\n\n- 看到有人推薦 [OneGet](https://github.com/OneGet/oneget)，但是我沒用過\n- 類似 `brew` 的做法，會把 Windows 軟體包直接拆開，裝在 `%UserProfile%\\scoop` 底下\n- `scoop install aria2; scoop config aria2-enabled true`\n- `scoop install ag busybox fd file git gzip jq less ln neovim psutils shasum sqlite sudo tar touch which xz`\n\n### [Chocolatey](https://chocolatey.org/)\n\n- 以前用 Chocolatey 經驗不好，後來也沒有繼續嘗試\n- 套件比 scoop 更多\n\n## Windows Subsystem Linux\n\n### [WSL安裝指南](https://docs.microsoft.com/zh-tw/windows/wsl/install-win10)\n\n- 我太習慣 Unix 環境跟 Commandline 的工作環境了\n- 現在的 WSL 我覺得已經發展到超過堪用的程度了\n- WSLv2 會用到 Hyper-V，會讓 VMware 跟其他 Hypervisor 超級慢\n\n### [Linuxbrew](http://linuxbrew.sh/)\n\n- macOS 的第三方套件管理程式 [Homebrew](https://brew.sh/) 也支援 Linux\n- 除非你用 [Arch Linux](https://www.archlinux.org/)，不然 brew 的套件版本一定比較新\n- `brew install nvim tmux`\n\n### WSLv1 修正 bad address error\n\n- `grep -F .note.ABI-tag -r . -l | xargs -n1 sh -c 'p=$(stat -c %a \"$1\"); chmod +w \"$1\"; strip --remove-section=.note.ABI-tag \"$1\"; chmod $p \"$1\"' --`\n- `/lib64/ld-linux-x86-64.so.2 /path/to/your/bad/executable`\n\n### 系統剪貼簿\n\n把以下兩行加入你的 `~/.bashrc` （或你自己的 shell rc）\n\n``` bash\nalias paste=\"powershell.exe -Command Get-Clipboard\"\nalias copy=\"powershell.exe -Command 'Set-Clipboard([Console]::In.ReadToEnd())'\"\n```\n\n*Windows 貼上的換行會是 `\\r\\n`，要 pipe 到其他地方使用可以先 `tr -d \\\\r`*\n\n## Windows 系統調整\n\n- 關掉 [Windows Telemetry](https://www.neweggbusiness.com/smartbuyer/windows/should-you-disable-windows-10-telemetry/)\n\t- [O\u0026O ShutUp10](https://www.oo-software.com/en/shutup10)\n- 關掉 [Windows Defender](https://www.windowscentral.com/how-permanently-disable-windows-defender-windows-10)\n\t- **\u003cspan style=\"color: red\"\u003e⚠️⚠️⚠️ 除非你知道自己在做什麼，也知道為什麼要關掉\n      Windows Defender，不然不建議這麼做。事實上， Windows Defender\n      是一個很棒的防毒軟體！\u003c/span\u003e**\n\t- MsMpEng 真的吃掉太多資源，也造成執行程式的卡頓，WSL 效能低落，i7 變 i3 不誇張\n- 關掉 [索引服務](https://www.online-tech-tips.com/computer-tips/simple-ways-to-increase-your-computers-performace-turn-off-indexing-on-your-local-drives/)\n\t- Everything 不管是建立索引還是搜尋速度都完勝，也不會一直吃效能\n\n## 快捷鍵\n\n[Windows Shortcuts by @moskytw](https://paper.dropbox.com/doc/Windows-Shortcuts-Moskys-Notes-2xHBugmq1xnYtBhhcnHmW)\n\n## Misc\n\n### 節省硬碟空間 (WinSxS)\n\n`Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase`\n\n### [剪貼簿歷程](https://support.microsoft.com/zh-tw/help/4464215/windows-10-get-help-with-clipboard)\n\n- Windows 10 新增的剪貼簿歷史紀錄功能\n\n### [clong/MakeWindows10GreatAgain](https://github.com/clong/MakeWindows10GreatAgain)\n### [Sycnex/Windows10Debloater](https://github.com/Sycnex/Windows10Debloater)\n\n- 裡面有很多值得參考的 tweak 跟懶人 script\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finndy%2Fwindows-sucks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finndy%2Fwindows-sucks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finndy%2Fwindows-sucks/lists"}