All Ecosystems
elixir

Elixir

Clean Mix build artifacts, deps directories, and compiled BEAM files. Supports Phoenix and Nerves projects.

Avg. Space Saved

100MB - 1GB per project

Detection Files

2 files

Artifact Types

5 types

Cleanable Artifacts

Cluttered can safely clean these Elixir build artifacts:

_build/deps/.elixir_ls/cover/priv/static/assets/

Project Detection

Cluttered identifies Elixir projects by looking for these files:

mix.exsmix.lock

Overview

Elixir projects using Mix accumulate compiled BEAM bytecode, dependencies, and build artifacts. Phoenix projects additionally cache compiled assets and generated files.

What Cluttered Cleans

ArtifactDescriptionTypical Size
_build/Compiled BEAM files50MB - 500MB
deps/Hex dependencies50MB - 400MB
.elixir_ls/ElixirLS language server cache10MB - 100MB
Asset cachePhoenix compiled assets10MB - 100MB

Why Elixir Projects Get Large

Elixir projects accumulate space from:

  • Multiple build profiles: dev, test, prod each have separate builds
  • Dependency compilation: Every dep is compiled for your environment
  • Native extensions: NIFs compile C/Rust code
  • Umbrella projects: Each app has its own _build and deps

Safety Considerations

Cluttered protects your Elixir projects by:

  • Detecting running IEx sessions
  • Checking for active Phoenix servers
  • Identifying running supervision trees
  • Preserving release artifacts

Mix Commands Comparison

ActionMix CommandCluttered
Clean buildmix cleanVisual selection
Clean depsmix deps.clean --allOne-click
Full resetManualAll at once

Phoenix-Specific Cleanup

Phoenix projects have additional artifacts:

  • Asset cache: Compiled esbuild/tailwind output
  • Generated files: Gettext, migrations
  • Upload directories: User-uploaded content (preserved by default)

Frequently Asked Questions

Will cleaning break my project?

No. Run mix deps.get && mix compile to restore everything.

What about my releases?

Cluttered preserves _build/prod/rel by default. Release artifacts are protected.

Does it handle umbrella projects?

Yes! Cluttered detects umbrella structures and shows each app separately.

  • Ruby - Mix is inspired by Bundler
  • Node.js - Phoenix often uses npm for assets
  • Rust - Rustler NIFs compile Rust code

Ready to clean your Elixir projects?

Download Cluttered and reclaim your disk space in minutes.