autoenv
« Back to VersTracker
Description:
Per-project, per-directory shell environments
Type: Formula  |  Latest Version: 0.4.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell environment development automation bash
Install: brew install autoenv
About:
Autoenv automatically executes environment-specific shell scripts when entering a directory, enabling seamless project configuration. It creates a lightweight, directory-based workflow for setting environment variables and shell aliases without manual sourcing.
Key Features:
  • Automatic execution of 'activate.sh' upon directory entry
  • Simple, file-based configuration requiring no daemons
  • Supports custom environment teardown with 'deactivate.sh'
  • Lightweight and shell-agnostic (primarily for Bash)
Use Cases:
  • Managing project-specific environment variables for development stacks
  • Setting up local database credentials or API keys without polluting global shell state
  • Automating project-specific tooling or alias setup for teams
Alternatives:
  • direnv – More powerful and secure, but requires external binaries and has a steeper learning curve.
  • asdf – Manages tool versions per directory, but focuses on runtime versions rather than shell environment variables.
License: MIT
Dependencies: bash
Bottles available for: all
Important Notes:
To finish the installation, source activate.sh in your shell:
  source $HOMEBREW_PREFIX/opt/autoenv/activate.sh
Version History
Detected Version Rev Change Commit