Node
Next to package.json.
Large, needs reinstall
What it isInstalled package dependencies.
How to rebuildYour package manager: npm install,
pnpm install or yarn.
What it isNext.js build output and cache.
How to rebuildnext dev or
next build.
What it isNuxt generated build directory.
How to rebuildnuxt dev,
nuxt build or nuxt prepare.
What it isNuxt and Nitro production build output. Only next
to nuxt.config.
How to rebuildnuxt build.
What it isSvelteKit generated files and build output.
How to rebuildvite dev,
vite build or svelte-kit sync.
What it isAngular CLI build cache. Only next to
angular.json.
How to rebuildRefilled by the next ng build or
ng serve.
What it isTurborepo local task cache.
How to rebuildRefilled by the next turbo run.
What it isParcel bundler cache.
How to rebuildRefilled by the next Parcel build.
What it isTest coverage reports.
How to rebuildRun your tests with coverage.
What it isESLint results cache.
How to rebuildRecreated by the next
eslint --cache run.
Python
Next to, or anywhere inside, a project with
pyproject.toml, requirements.txt,
setup.py, setup.cfg or Pipfile.
Large, needs reinstall
What it isVirtual environment with installed packages. Must
contain pyvenv.cfg.
How to rebuildpython -m venv .venv, then
reinstall with pip install -r requirements.txt,
uv sync or poetry install.
Large, needs reinstall
What it isVirtual environment with installed packages. Must
contain pyvenv.cfg.
How to rebuildpython -m venv venv, then
reinstall your dependencies.
What it isCompiled bytecode. Only offered if it holds nothing
but .pyc files.
How to rebuildHappens automatically when the code is imported.
What it ispytest cache of last failures and step-wise state.
How to rebuildRecreated by the next pytest run.
What it ismypy incremental type-check cache.
How to rebuildRecreated by the next mypy run.
What it isRuff linter cache.
How to rebuildRecreated by the next ruff run.
Xcode & Swift
Next to an Xcode project or workspace, Package.swift or
Podfile.
What it isProject-local Xcode build, index and module cache.
How to rebuildThe next Xcode build.
What it isProject-local Xcode build products and intermediates.
How to rebuildThe next Xcode build.
What it isSwift Package Manager build output and dependency checkouts.
How to rebuildThe next swift build.
Large, needs reinstall
What it isInstalled CocoaPods dependencies and the generated Pods project.
How to rebuildpod install, pinned by
Podfile.lock.
Rust
Next to Cargo.toml.
What it isCargo build output: compiled crates and incremental data.
How to rebuildThe next cargo build.
.NET
Next to a .csproj, .fsproj or
.vbproj, or a solution for IDE state.
What it isCompiled build output.
How to rebuildThe next dotnet build.
What it isGenerated MSBuild intermediate files.
How to rebuildThe next dotnet restore or
dotnet build.
What it isVisual Studio and Rider per-machine IDE state and caches.
How to rebuildRecreated when you open the solution.
What it isTest run results and coverage files.
How to rebuildThe next dotnet test.
Dart & Flutter
Next to pubspec.yaml.
What it isPackage resolution, build_runner output and tool caches.
How to rebuilddart pub get, which
flutter run and flutter build do for you.
What it isFlutter build output: app bundles, intermediates and test assets.
How to rebuildThe next flutter run,
flutter build or flutter test.
Go
Next to go.mod or go.work.
Large, needs reinstall
What it isVendored copies of the module's dependencies. Must
contain modules.txt.
How to rebuildgo mod vendor or
go work vendor.
C & C++
Next to a top-level CMakeLists.txt, and containing
CMakeCache.txt and CMakeFiles.
What it isCMake build tree: configure cache, object files and binaries.
How to rebuildcmake -S . -B build, then build
again.
cmake-build-release
cmake-build-relwithdebinfo
cmake-build-minsizerel
What it isCLion's build trees, one per build type.
How to rebuildCLion reconfigures them when you open the project.
Left out on purpose
Folders like dist, out and a generic
build outside Xcode, Flutter and CMake projects are too
often hand-made to be cleared safely. The same goes for
vendor anywhere except next to a Go module that can
restore it.