pip install python-dotenv && dotenv run -- python agent.py
Load .env file and run an agent script with those variables
python-dotenv reads a .env file and injects its KEY=VALUE pairs as environment variables. `dotenv run --` passes them to the following command without permanently exporting them. Best practice: create a .env file, add it to .gitignore, and load it this way.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.