Steps to install anyenv on Mac. Documenting this as I encountered a few issues.
Installation
In my environment, various tools are placed in /usr/local/bin/, so I decided to install anyenv there.
Add to Path
Since anyenv assumes installation directly under the root directory, the ANYENV_ROOT must be explicitly set to the desired directory; otherwise, the anyenv commands won't work correctly. Additionally, forgetting to include eval "$(anyenv init -)" can cause issues, such as being unable to execute commands from installed packages. Make sure not to skip this step.
Conclusion
This completes the installation. You should now be able to use various anyenv commands.