{"id":16772613,"url":"https://github.com/jonlabelle/dotenv-sh","last_synced_at":"2026-05-17T13:32:25.963Z","repository":{"id":148059624,"uuid":"435397975","full_name":"jonlabelle/dotenv-sh","owner":"jonlabelle","description":"Loads variables from dotenv (.env) files into your environment.","archived":false,"fork":false,"pushed_at":"2022-01-30T19:47:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T03:29:25.463Z","etag":null,"topics":["bash","dotenv","environment","sh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonlabelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-06T07:21:23.000Z","updated_at":"2022-01-30T19:50:13.000Z","dependencies_parsed_at":"2023-05-28T08:00:20.782Z","dependency_job_id":null,"html_url":"https://github.com/jonlabelle/dotenv-sh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fdotenv-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fdotenv-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fdotenv-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fdotenv-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonlabelle","download_url":"https://codeload.github.com/jonlabelle/dotenv-sh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243896566,"owners_count":20365397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","dotenv","environment","sh"],"created_at":"2024-10-13T06:43:22.599Z","updated_at":"2026-05-17T13:32:20.942Z","avatar_url":"https://github.com/jonlabelle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## dotenv.sh\n\n[![lint](https://github.com/jonlabelle/dotenv-sh/actions/workflows/lint.yml/badge.svg)](https://github.com/jonlabelle/dotenv-sh/actions/workflows/lint.yml)\n\n\u003e Loads variables from dotenv (`.env`) files into your environment.\n\n## Install\n\nClone the [repository] then run the [install script] to create the symlink in\n`~/bin/dotenv`:\n\n```bash\ngit clone https://github.com/jonlabelle/dotenv-sh.git\ncd dotenv-sh\nbash scripts/install.sh\n```\n\n## Usage\n\n```bash\nsource dotenv [environment]\n```\n\n## Examples\n\nTo load variables in the `.env` file from current working directory:\n\n```bash\nsource dotenv\n```\n\nTo load variables in the `.env.local` file from current working directory:\n\n```bash\nsource dotenv local\n```\n\n## References\n\n- [Set Environment Variables in Your Bash Shell From a .env File \\(Version 2\\)](https://zwbetz.com/set-environment-variables-in-your-bash-shell-from-a-env-file-version-2/)\n- [Load environment variables from dotenv / .env file in Bash](https://gist.github.com/mihow/9c7f559807069a03e302605691f85572)\n\n## License\n\n[MIT](LICENSE.txt)\n\n[repository]: https://github.com/jonlabelle/dotenv-sh.git\n[install script]: https://github.com/jonlabelle/dotenv-sh/blob/main/scripts/install.sh \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Fdotenv-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonlabelle%2Fdotenv-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Fdotenv-sh/lists"}