Uninstall

October 5, 2023 ยท View on GitHub

The uninstallation procedure depends on your installation method.

Method

Homebrew

If you installed autoenv with homebrew, run the following:

$ brew uninstall 'autoenv'

With npm

If you installed autoenv with npm, run the following:

$ npm uninstall -g '@hyperupcall/autoenv'

With Git

If you installed autoenv with Git, run the following:

rm -rf ~/.autoenv

Post Cleanup

After uninstalling autoenv, your shell may still contain parts of autoenv in memory. To prevent executing these parts, run the following in each open terminal:

unset -f 'cd'

Note that the -f is important. This removes autoenv's custom cd function and allows the shell to use its own cd builtin instead.