# Flox upgrade issue

**URL:** <https://discourse.flox.dev/t/flox-upgrade-issue/592>\
**Category:** Help\
**Created:** [December 27, 2022, 11:16am UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592 "2022-12-27T11:16:11Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![etorreborre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/etorreborre/32/428_2.png) [@etorreborre](https://discourse.flox.dev/u/etorreborre)\
**Post date:** [December 28, 2022, 5:19pm UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592/21 "2022-12-28T17:19:23Z")

</div>

This worked, thanks! Am I supposed to stay on the `floxmain` branch or should I go back to the `x86_64-darwin.default` branch I was on?

---

<div class="post-metadata">

**Author:** ![mkenigs](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/mkenigs/32/520_2.png) [@mkenigs](https://discourse.flox.dev/u/mkenigs)\
**Post date:** [December 28, 2022, 6:03pm UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592/22 "2022-12-28T18:03:50Z")

</div>

Awesome! You can just leave it on `floxmain`

---

<div class="post-metadata">

**Author:** ![mkenigs](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/mkenigs/32/520_2.png) [@mkenigs](https://discourse.flox.dev/u/mkenigs)\
**Post date:** [December 28, 2022, 8:49pm UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592/23 "2022-12-28T20:49:18Z")

</div>

The fix just rolled out to `stable.flox.flox-prerelease`. Thanks for finding that for us!

---

<div class="post-metadata">

**Author:** ![etorreborre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/etorreborre/32/428_2.png) [@etorreborre](https://discourse.flox.dev/u/etorreborre)\
**Post date:** [December 28, 2022, 10:18pm UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592/24 "2022-12-28T22:18:45Z")

</div>

Thanks Matthew. I was able to upgrade to the prerelease version (r111) but I am actually not sure how I did it :-). I think I `flox pull -e flox/prerelease` and reactivated the environment, at first it didn’t work and eventually it did (maybe I did a `hash -r` in the meantime).

Now the conversion of both my `default` and my `flox/prerelease` environments worked ok and I can also edit them and see the nix format for the environment. I was even able to reintroduce my previous alias :-).

---

<div class="post-metadata">

**Author:** ![etorreborre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/etorreborre/32/428_2.png) [@etorreborre](https://discourse.flox.dev/u/etorreborre)\
**Post date:** [December 28, 2022, 10:23pm UTC](https://discourse.flox.dev/t/flox-upgrade-issue/592/25 "2022-12-28T22:23:20Z")

</div>

About upgrading flox. I now did

```auto
flox list -e default

```

Removed my current flox version in `default` (it was r93), listed as 2 in the list:

```auto
flox rm 2 -e default

```

and installed the prerelease version with

```auto
flox install stable.flox.flox-prerelease -e default

```

[Previous page](https://discourse.flox.dev/t/flox-upgrade-issue/592.md?page=1)
