{"id":21419027,"url":"https://github.com/RustyDaemon/env-list","last_synced_at":"2025-10-04T09:31:30.584Z","repository":{"id":250454963,"uuid":"834243101","full_name":"RustyDaemon/env-list","owner":"RustyDaemon","description":"env-list is a macOS/Windows CLI tool that parses and displays environment variables, offering options to show all, common, or just the PATH variable, with sorted output for readability.","archived":false,"fork":false,"pushed_at":"2024-07-31T18:47:35.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T03:39:29.225Z","etag":null,"topics":["env","environment-variables","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/RustyDaemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-26T18:35:06.000Z","updated_at":"2024-08-01T17:38:33.000Z","dependencies_parsed_at":"2024-07-31T22:48:34.514Z","dependency_job_id":null,"html_url":"https://github.com/RustyDaemon/env-list","commit_stats":null,"previous_names":["rustamirzaev/env-list","rustydaemon/env-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RustyDaemon/env-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fenv-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fenv-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fenv-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fenv-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RustyDaemon","download_url":"https://codeload.github.com/RustyDaemon/env-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fenv-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278295435,"owners_count":25963422,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["env","environment-variables","rust"],"created_at":"2024-11-22T19:33:41.628Z","updated_at":"2025-10-04T09:31:30.262Z","avatar_url":"https://github.com/RustyDaemon.png","language":"Rust","readme":"# Env List\n\n## Overview\n\n`env-list` is a command-line utility that parses and displays environment variables on `macOS` and `Windows`:\n- all environment variables, \n- a filtered list of common environment variables, \n- or only the PATH variable.\n\n## Installation\n\nTo use this utility, you'll need to have Rust installed on your system. If you don't have Rust installed, you can get it from [https://rust-lang.org/](https://rust-lang.org/).\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/RustamIrzaev/env-list.git\n    cd env-list\n    ```\n\n2. Build the project:\n\n    ```bash\n    cargo build --release\n    cd target/release\n    ```\n\n3. Run the project:\n\n    ```bash\n    ./env-list \u003cPARAMS\u003e\n    ```\n\n## Usage\n\nThe utility provides several options to customize the output.\n\n### Display All Environment Variables\n\nBy default, `env-list` will display all environment variables:\n\n`./env-list`\n\n### Common Environment Variables\n\nUse the `-simple` (or `-s`) flag to display only common environment variables:\n\n`./env-list -s`\n\n\u003e Common environment variables are: \n\u003e \n\u003e `MAC`: \"PATH\", \"HOME\", \"SHELL\", \"USER\", \"LOGNAME\", \"LANG\", \"PWD\", \"OLDPWD\", \"SHLVL\", \"_\", \"TERM\", \"TMPDIR\"\n\u003e \n\u003e `WINDOWS`: \"APPDATA\", \"COMPUTERNAME\", \"HOMEDRIVE\", \"HOMEPATH\", \"OS\", \"Path\", \"ProgramData\", \"ProgramFiles\", \"ProgramFiles(x86)\", \"SESSIONNAME\", \"SystemDrive\", \"USERDOMAIN\", \"USERPROFILE\"\n\n### Display Only the PATH Variable\n\nUse the `-path` (or `-p`) flag to display only the PATH environment variable:\n\n`./env-list -p`\n\n## Example output (`-s` option)\n\n```sh\nPATH:\n    /usr/local/bin\n    /usr/bin\n    /bin\n    /usr/sbin\n    /sbin\nHOME: /Users/yourusername\nSHELL: /bin/zsh\nUSER: yourusername\nLOGNAME: yourusername\nLANG: en_US.UTF-8\nPWD: /Users/yourusername\nOLDPWD: /Users\nSHLVL: 1\n_: /usr/bin/env\nTERM: xterm-256color\nTMPDIR: /var/folders/...\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRustyDaemon%2Fenv-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRustyDaemon%2Fenv-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRustyDaemon%2Fenv-list/lists"}