awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
toddbluhm avatar

toddbluhm/env-cmd

0
View on GitHub↗
1,818 stars·68 forks·TypeScript·MIT·17 viewswww.npmjs.com/package/env-cmd↗

Env Cmd

This project is a command-line utility that executes processes by injecting environment variables from local configuration files. It functions as a runtime wrapper, allowing developers to manage application settings and process execution contexts without modifying global system variables.

The tool distinguishes itself by supporting dynamic configuration loading, which allows for the use of files that export objects or promises to compute values at runtime. It provides granular control over environment management, including the ability to group variables into named collections, protect existing environment variables from being overwritten, and handle missing configuration files gracefully.

Beyond basic injection, the utility facilitates cross-platform script execution and automated build pipeline management by replacing placeholders within command arguments with resolved environment values. It creates isolated child processes to ensure that configuration settings remain scoped to specific tasks, maintaining consistent behavior across different development and deployment environments.

Features

  • Shell Command Runners - Acts as a runtime wrapper that applies file-based environment settings to shell commands without modifying global system variables.
  • Environment Variable Loaders - Executes processes with environment variables injected from local configuration files.
  • Runtime Environment Variable Injections - Injects configuration variables into a child process environment before executing a command to isolate settings from the parent shell.
  • Application Configuration - Loads structured environment settings into application processes to manage secrets and dynamic parameters without hardcoding values into the source code.
  • Environment Variable Managers - Injects configuration from files into shell processes to support environment-specific settings without modifying global system variables.
  • Scoped Environment Variable Injections - Applies specific environment variables from designated files before command execution to support environment-specific configurations.
  • Dynamic Placeholder Expansion - Replaces placeholders within command arguments with actual environment variable values at runtime.
  • Cross-Platform Script Runners - Runs shell commands with injected environment variables to maintain consistent application behavior across different operating systems and deployment environments.
  • Command Argument Resolvers - Scans command-line arguments for variable tokens and replaces them with resolved values from the environment before the process starts.
  • Dynamic Module Loading - Imports configuration files as executable code to support computed values and asynchronous data fetching during the environment setup phase.
  • Dynamic Configuration Loaders - Supports importing environment variables from files that export objects or promises, enabling computed values and dynamic settings.
  • Node.js Process Management - Manages environment-specific configurations and process execution contexts within Node.js development and deployment workflows.
  • Shell Command Execution - Creates a new operating system process to run commands within a modified environment context that persists for the duration of the task.
  • Build and Task Automation - Executes build and deployment tasks with dynamic environment variables to ensure consistent behavior across different development and production stages.
  • File-Based Configurations - Reads and transforms external text or script files into structured key-value pairs for dynamic environment variable assignment.

Star history

Star history chart for toddbluhm/env-cmdStar history chart for toddbluhm/env-cmd

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Env Cmd

Hand-picked collections where Env Cmd appears.
  • Environment Variable Management Tools

Open-source alternatives to Env Cmd

Similar open-source projects, ranked by how many features they share with Env Cmd.
  • joho/godotenvjoho avatar

    joho/godotenv

    10,483View on GitHub↗

    godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li

    Godotenvenvironment-variablesgo
    View on GitHub↗10,483
  • kentcdodds/cross-envkentcdodds avatar

    kentcdodds/cross-env

    6,527View on GitHub↗

    cross-env is a Node.js command line utility and cross-platform shell script runner. It functions as an environment variable setter that ensures variables are handled identically across Windows, macOS, and Linux. The tool standardizes variable assignment by wrapping shell execution in a uniform interface, allowing scripts to run consistently regardless of the underlying operating system. This enables the use of a single syntax for environment configuration across diverse shell environments. The project covers capabilities for automated build tooling, Node.js environment configuration, and the

    TypeScript
    View on GitHub↗6,527
  • symfony/dotenvsymfony avatar

    symfony/dotenv

    3,790View on GitHub↗

    This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local text files to populate global server and system environment arrays, ensuring that sensitive credentials and application settings remain separate from the source code. The tool implements twelve-factor app configuration principles by mapping local files to process-level variables. It utilizes a regex-based parser to identify variable assignments while stripping comments and whitespace, and it includes guards to prevent local configuration files from overwriting existing host-level

    PHP
    View on GitHub↗3,790
  • laserlemon/figarolaserlemon avatar

    laserlemon/figaro

    3,749View on GitHub↗

    Figaro is a configuration manager for Ruby on Rails applications that loads key-value pairs from YAML files and injects them into environment variables. It functions as a configuration validator, raising errors during startup if mandatory configuration keys are missing from the environment to prevent runtime crashes. The project includes a command-line utility for synchronizing local environment settings to remote hosting platforms and production servers. This allows for the generation of remote configuration files based on local source data. The system supports environment-specific settings

    Ruby
    View on GitHub↗3,749
See all 30 alternatives to Env Cmd→

Frequently asked questions

What does toddbluhm/env-cmd do?

This project is a command-line utility that executes processes by injecting environment variables from local configuration files. It functions as a runtime wrapper, allowing developers to manage application settings and process execution contexts without modifying global system variables.

What are the main features of toddbluhm/env-cmd?

The main features of toddbluhm/env-cmd are: Shell Command Runners, Environment Variable Loaders, Runtime Environment Variable Injections, Application Configuration, Environment Variable Managers, Scoped Environment Variable Injections, Dynamic Placeholder Expansion, Cross-Platform Script Runners.

What are some open-source alternatives to toddbluhm/env-cmd?

Open-source alternatives to toddbluhm/env-cmd include: joho/godotenv — godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to… kentcdodds/cross-env — cross-env is a Node.js command line utility and cross-platform shell script runner. It functions as an environment… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… laserlemon/figaro — Figaro is a configuration manager for Ruby on Rails applications that loads key-value pairs from YAML files and… bkeepers/dotenv — Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a… hunvreus/devpush — Devpush is a self-hosted Git-based PaaS that automates the deployment of containerized applications. It maps each Git…