# Flox wipe-history

**URL:** <https://discourse.flox.dev/t/flox-wipe-history/722>\
**Category:** Help\
**Created:** [April 11, 2023, 7:54pm UTC](https://discourse.flox.dev/t/flox-wipe-history/722 "2023-04-11T19:54:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnl](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@johnl](https://discourse.flox.dev/u/johnl)\
**Post date:** [April 11, 2023, 7:54pm UTC](https://discourse.flox.dev/t/flox-wipe-history/722/1 "2023-04-11T19:54:31Z")

</div>

Hi all. I’ve been playing with flox for a while and I thought I’d try and purge old generations of my default env. `flox wipe-history` looked like the likely command but running it gives E`RROR: not implemented`. Is this a TODO? Is there another way to purge old generations? Thanks!

---

<div class="post-metadata">

**Author:** ![robinbrantley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/robinbrantley/32/39_2.png) [@robinbrantley](https://discourse.flox.dev/u/robinbrantley)\
**Post date:** [April 11, 2023, 9:26pm UTC](https://discourse.flox.dev/t/flox-wipe-history/722/2 "2023-04-11T21:26:18Z")

</div>

Hi @johnl - Thank you for your query. No, this command has not yet been implemented but I can confirm it is on our list for prioritisation. In the meantime, I am sorry but there is not a way to delete old generations.

---

<div class="post-metadata">

**Author:** ![johnl](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@johnl](https://discourse.flox.dev/u/johnl)\
**Post date:** [April 11, 2023, 11:20pm UTC](https://discourse.flox.dev/t/flox-wipe-history/722/3 "2023-04-11T23:20:32Z")

</div>

Ah thanks. I thought that might be the case.

---

<div class="post-metadata">

**Author:** ![robinbrantley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/robinbrantley/32/39_2.png) [@robinbrantley](https://discourse.flox.dev/u/robinbrantley)\
**Post date:** [April 11, 2023, 11:38pm UTC](https://discourse.flox.dev/t/flox-wipe-history/722/4 "2023-04-11T23:38:46Z")

</div>

Hi @johnl - it just occurred to me that you could do the following:

```auto
flox export > filename 
flox destroy
flox import < filename

```

Not nice but should get you there in the end? 🙂

---

<div class="post-metadata">

**Author:** ![johnl](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@johnl](https://discourse.flox.dev/u/johnl)\
**Post date:** [April 12, 2023, 9:33am UTC](https://discourse.flox.dev/t/flox-wipe-history/722/5 "2023-04-12T09:33:18Z")

</div>

Niceness is in the eye of the beholder. It works!
