# commands ## windows winget install ```bash= # dotnet sdk winget install Microsoft.DotNet.SDK.9 winget install Microsoft.DotNet.SDK.8 winget install Microsoft.DotNet.SDK.7 winget install Microsoft.DotNet.SDK.6 # go sdk winget install GoLang.Go # rust winget install Rustlang.Rustup # python winget install Python.Python.3.13 -e # draw.io winget install JGraph.Draw # hugo winget install Hugo.Hugo.Extended winget install JanDeDobbeleer.OhMyPosh winget install WinMerge.WinMerge # kubectl (因為要配合其他 k8s 相關工具目前都只在 choco 才可以安裝的問題,這邊不會用 winget 安裝 kubectl) winget install -e --id Kubernetes.kubectl # cli uv winget install --id=astral-sh.uv -e # cli tool # https://wezterm.org/install/windows.html#for-winget-users # https://github.com/wezterm/wezterm winget install wez.wezterm # nvim lazy.vim 需要的工具 ## cli: ag ## like grep but faster ## https://github.com/ggreer/the_silver_searcher winget install "The Silver Searcher" ## cli: rg ## like grep but faster ## https://github.com/BurntSushi/ripgrep winget install BurntSushi.ripgrep.MSVC ## cli: fd ## = find ## https://github.com/sharkdp/fd winget install -e sharkdp.fd ## cli: fzf ## 快速查找用的,一般情況下也適合使用,可以參考官網示範 ## https://junegunn.github.io/ ## https://junegunn.github.io/fzf/ ## https://github.com/junegunn/fzf winget install -e junegunn.fzf ## git ui in terminal ## https://github.com/jesseduffield/lazygit winget install -e --id=JesseDuffield.lazygit # C/C++ 編譯、建置等工具 ## Clang - LLVM ## https://llvm.org/ ## https://github.com/llvm/llvm-project ## 靜默安裝命令,不會加入 clang / clangd 等命令到 path 中 winget install -e --id LLVM.LLVM ## 互動安裝命令,可以選擇要不要 clang / clangd 等命令到 path 中 winget install -i -e --id LLVM.LLVM ## CMake ## https://cmake.org/ ## https://github.com/Kitware/CMake winget install -e --id Kitware.CMake ## Ninja ## https://ninja-build.org/ ## https://github.com/ninja-build/ninja winget install -e --id Ninja-build.Ninja ## bat (cat 加強版) ## https://github.com/sharkdp/bat?tab=readme-ov-file#with-winget winget install sharkdp.bat ``` ## windows winget upgarde ```bash= # dotnet sdk winget upgrade Microsoft.DotNet.SDK.9 winget upgrade Microsoft.DotNet.SDK.8 winget upgrade Microsoft.DotNet.SDK.7 winget upgrade Microsoft.DotNet.SDK.6 # go sdk winget upgrade GoLang.Go # rust winget upgrade Rustlang.Rustup # draw.io winget upgrade JGraph.Draw # hugo winget upgrade Hugo.Hugo.Extended ``` ## windows choco install ```bash= # kubectl choco install kubernetes-cli # helm choco install kubernetes-helm # kustomize choco install kustomize # k9s choco install k9s # k3d choco install k3d # 另外一個 cli 查詢工具,但是沒有 winget 安裝命令 # 可以用來搜尋pdf, docx檔的內文 ## https://github.com/phiresky/ripgrep-all choco install ripgrep-all ``` ## macos ```bash= # flutter Version Management # ref: https://fvm.app/documentation/getting-started/installation brew tap leoafarias/fvm brew install fvm warp brew install --cask warp ``` ## npm package [nvm in windows](https://github.com/coreybutler/nvm-windows) [nvm](https://github.com/nvm-sh/nvm) ```shell npm install -g npm@11.7.0 npm install -g @anthropic-ai/claude-code npm install -g @google/gemini-cli npm install -g @openai/codex npm install -g @github/copilot # upgrade ai agent cli npm install -g @anthropic-ai/claude-code @google/gemini-cli @openai/codex @github/copilot ``` # other usage command ``` ssh-keygen -t rsa -b 4096 -C "yuchia.wei@personal.pc.p14s" -f ~/.ssh/id_rsa_aiontech_azure_devops ```