Every folder RepoSweep can clear

This is the whole list. Each folder is offered only when it sits next to its project file and contains proof that a tool generated it. Anything not listed here is never touched.

Node

Next to package.json.

node_modules
Large, needs reinstall

What it isInstalled package dependencies.

How to rebuildYour package manager: npm install, pnpm install or yarn.

.next

What it isNext.js build output and cache.

How to rebuildnext dev or next build.

.nuxt

What it isNuxt generated build directory.

How to rebuildnuxt dev, nuxt build or nuxt prepare.

.output

What it isNuxt and Nitro production build output. Only next to nuxt.config.

How to rebuildnuxt build.

.svelte-kit

What it isSvelteKit generated files and build output.

How to rebuildvite dev, vite build or svelte-kit sync.

.angular/cache

What it isAngular CLI build cache. Only next to angular.json.

How to rebuildRefilled by the next ng build or ng serve.

.turbo

What it isTurborepo local task cache.

How to rebuildRefilled by the next turbo run.

.parcel-cache

What it isParcel bundler cache.

How to rebuildRefilled by the next Parcel build.

coverage

What it isTest coverage reports.

How to rebuildRun your tests with coverage.

.eslintcache

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.

.venv
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.

venv
Large, needs reinstall

What it isVirtual environment with installed packages. Must contain pyvenv.cfg.

How to rebuildpython -m venv venv, then reinstall your dependencies.

__pycache__

What it isCompiled bytecode. Only offered if it holds nothing but .pyc files.

How to rebuildHappens automatically when the code is imported.

.pytest_cache

What it ispytest cache of last failures and step-wise state.

How to rebuildRecreated by the next pytest run.

.mypy_cache

What it ismypy incremental type-check cache.

How to rebuildRecreated by the next mypy run.

.ruff_cache

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.

DerivedData

What it isProject-local Xcode build, index and module cache.

How to rebuildThe next Xcode build.

build

What it isProject-local Xcode build products and intermediates.

How to rebuildThe next Xcode build.

.build

What it isSwift Package Manager build output and dependency checkouts.

How to rebuildThe next swift build.

Pods
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.

target

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.

bin

What it isCompiled build output.

How to rebuildThe next dotnet build.

obj

What it isGenerated MSBuild intermediate files.

How to rebuildThe next dotnet restore or dotnet build.

.vs

What it isVisual Studio and Rider per-machine IDE state and caches.

How to rebuildRecreated when you open the solution.

TestResults

What it isTest run results and coverage files.

How to rebuildThe next dotnet test.

Dart & Flutter

Next to pubspec.yaml.

.dart_tool

What it isPackage resolution, build_runner output and tool caches.

How to rebuilddart pub get, which flutter run and flutter build do for you.

build

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.

vendor
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.

build

What it isCMake build tree: configure cache, object files and binaries.

How to rebuildcmake -S . -B build, then build again.

cmake-build-debug
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.