Elixir
  • My Elixir journey
  • Why functional programming?
  • Exhort
    • 🗓️Day 22
    • 🗓️Day 21
    • 🗓️Day 20
    • 🗓️Day 19
    • 🗓️Day 18
    • 🗓️Day 17
    • 🗓️Day 16
    • 🗓️Day 15
    • 🗓️Day 14
  • Bits and pieces
    • Clean mix dependencies
    • Run tests automatically on save
    • Run tests and stop on first failure
    • How to remove Tailwind from a Phoenix project
Powered by GitBook
  1. Bits and pieces

Clean mix dependencies

Clean mix dependencies

PreviousBits and piecesNextRun tests automatically on save

Last updated 2 years ago

Every once in a while, or when you have removed a dependency from your project, or you have run mix deps.update, it is a good practice to clean unused dependencies.

This is more to free disk space.

Here's how to do it:

mix deps.clean --unlock --unused

Do you have feedback or questions about this? .

Email me