# Depreciate the use of nix-env to install packages?

**URL:** https://discourse.nixos.org/t/depreciate-the-use-of-nix-env-to-install-packages/20139
**Category:** Documentation
**Created:** [July 5, 2022, 9:29am UTC](https://discourse.nixos.org/t/depreciate-the-use-of-nix-env-to-install-packages/20139 "2022-07-05T09:29:27Z")
**Posts on this page:** 1
**Showing post:** 22

<div class="post-metadata">

### Author: ![TLATER](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tlater/32/4257_2.png) [@TLATER](https://discourse.nixos.org/u/TLATER)
#### Post date: [July 11, 2022, 1:25pm UTC](https://discourse.nixos.org/t/depreciate-the-use-of-nix-env-to-install-packages/20139/22 "2022-07-11T13:25:00Z")

</div>

Yep, it’s part of the nix 3.0 CLI work. There’s a rough roadmap for it here: [Nix release schedule and roadmap](https://discourse.nixos.org/t/nix-release-schedule-and-roadmap/14204)

Sadly, it looks like it might be many years until that particular set of problems caused by `nix-env` is fixed, unless there is appetite for adding a warning when `-i` is used without `-A` or something.

---

_[View the full topic](https://discourse.nixos.org/t/depreciate-the-use-of-nix-env-to-install-packages/20139)._
