npm
npm config set cache "G:\AppData\npm-cache"
pnpm
C:/Users/enihsyou/AppData/Local/pnpm/config/rc
pnpm config set cacheDir "G:\AppData\pnpm-cache"
pnpm config set storeDir "G:\AppData\pnpm-store"
Bun
also have issue .bunfig.toml globalDir and globalBinDir is not respected on Windows 11 · 议题 #12886 · oven-sh/bun 得用环境变量
Link Shell Extension 是个可视化链接的好工具
# bun user config
# filepath: ~/.bunfig.toml
#:schema https://json.schemastore.org/bunfig.json
[install.cache]
# the directory to use for the cache
# current this setting is not awared, and 'cache' from .npmrc take effect
# https://github.com/oven-sh/bun/issues/5636
# set BUN_INSTALL_CACHE_DIR env instead to make hardlink on this drive possible
dir = "G:/AppData/bun/install/cache"
Pip
https://stackoverflow.com/a/74833710
pip config --user set global.cache-dir G:/AppData/pip/cacheUV
Configuration files | uv
Settings | uv
C:/Users/enihsyou/AppData/Roaming/uv/uv.toml
cache-dir = "G:/AppData/uv/cache"
go
go env -w GOCACHE=G:\AppData\go-build
go env -w GOMODCACHE=G:\AppData\go\pkg\mod
dotnet
nuget.config File Reference | Microsoft Learn
PS C:\Users\enihsyou> dotnet nuget locals all --list
http-cache: C:\Users\enihsyou\AppData\Local\NuGet\v3-cache
global-packages: C:\Users\enihsyou\.nuget\packages\
temp: R:\TEMP\NuGetScratch
plugins-cache: C:\Users\enihsyou\AppData\Local\NuGet\plugins-cache
PS C:\Users\enihsyou> dotnet nuget config set globalPackagesFolder "R:\AppData\nuget\packages"
VSCode C_Cpp
C:\Users\enihsyou\AppData\Local\Microsoft\vscode-cpptools
C_Cpp.intelliSenseCachePath
"C_Cpp.intelliSenseCachePath": "G:\\AppData\\vscode-cpptools"VSCode-Cpptools/ipch/folders. should i delete them? or are they necessary everytime i use it? · microsoft/vscode-cpptools · Discussion #10637
What is the ipch folder?