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
·
kentcdodds avatar

kentcdodds/cross-envArchived

0
View on GitHub↗
6,527 stars·263 forks·TypeScript·MIT·6 viewswww.npmjs.com/package/cross-env↗

Cross Env

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 creation of portable CI/CD pipelines.

Features

  • Cross-Platform Environment Variable Setters - Provides a consistent tool for setting and using environment variables in shell scripts across Windows, macOS, and Linux.
  • Cross-Platform Script Runners - Runs shell commands that set environment variables consistently across Windows, macOS, and Linux.
  • Node.js CLI Tooling - Provides a Node.js-based CLI tool to standardize variable assignment across different shell environments.
  • Node.js Application Configurations - Configures environment variables for Node.js applications to ensure consistent behavior across different operating systems.
  • Environment Variable Managers - Provides a utility to define and assign environment variables to commands using a consistent cross-platform syntax.
  • Cross-Platform Shell Customizers - Standardizes shell environment variable assignment across different operating systems through a uniform JavaScript interface.
  • Shell Script Execution Engines - Executes inline shell scripts with integrated support for cross-platform environment variable assignment.
  • Build Automation - Enables the automation of build workflows by setting production and development flags across diverse developer platforms.
  • Pipeline Portability - Facilitates the creation of build scripts that operate across various CI runner environments without platform-specific shell failures.
  • Dynamic Merging - Combines user-defined variables with the existing process environment to ensure target commands inherit all necessary configurations.
  • Runtime Environment Variable Injections - Injects environment variables into the target process at runtime to override or extend the existing shell environment.
  • Child Process Execution - Implements the mechanism for spawning external system processes and passing modified environment variables to the shell.
  • Environment Management - Cross-platform environment variable setting.
  • Cross-Platform Utilities - Sets environment variables for scripts in a Unix-style.
  • Environment Management - Set environment variables in a cross-platform manner.

Star history

Star history chart for kentcdodds/cross-envStar history chart for kentcdodds/cross-env

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

Frequently asked questions

What does kentcdodds/cross-env do?

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.

What are the main features of kentcdodds/cross-env?

The main features of kentcdodds/cross-env are: Cross-Platform Environment Variable Setters, Cross-Platform Script Runners, Node.js CLI Tooling, Node.js Application Configurations, Environment Variable Managers, Cross-Platform Shell Customizers, Shell Script Execution Engines, Build Automation.

What are some open-source alternatives to kentcdodds/cross-env?

Open-source alternatives to kentcdodds/cross-env include: toddbluhm/env-cmd — This project is a command-line utility that executes processes by injecting environment variables from local… cake-build/cake — Cake is a cross-platform build automation system and scripting framework that allows users to define software build… node-config/node-config — This is a configuration manager for Node.js applications that handles hierarchical settings across different… metalsmith/metalsmith — Metalsmith is a Node.js static site generator and static content processor that transforms source files into websites,… emailthis/extension-boilerplate — This project is a development template and build system designed for creating browser extensions. It provides a… npm/node-which — Like the unix which utility.

Open-source alternatives to Cross Env

Similar open-source projects, ranked by how many features they share with Cross Env.
  • toddbluhm/env-cmdtoddbluhm avatar

    toddbluhm/env-cmd

    1,818View on GitHub↗

    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 existin

    TypeScriptcommand-line-toolcross-platformenvironment-variables
    View on GitHub↗1,818
  • cake-build/cakecake-build avatar

    cake-build/cake

    4,179View on GitHub↗

    Cake is a cross-platform build automation system and scripting framework that allows users to define software build pipelines using C# scripts. It functions as a CI/CD pipeline orchestrator and build runner, providing a strongly-typed domain-specific language to simplify the orchestration of compilation, testing, and packaging processes across Windows, Linux, and macOS. The system ensures reproducible build environments by pinning the versions of build tools, modules, and dependencies. It distinguishes itself by enabling a C# scripting workflow with full IDE support, including autocomplete, s

    C#build-automationbuild-automation-toolbuild-tool
    View on GitHub↗4,179
  • node-config/node-confignode-config avatar

    node-config/node-config

    6,427View on GitHub↗

    This is a configuration manager for Node.js applications that handles hierarchical settings across different deployment environments. It functions as an environment-based loader and settings parser that merges default configurations with overrides based on the current runtime context and hostname. The project distinguishes itself through a priority-based merge strategy that incorporates environment variables, command-line arguments, and external data sources to supersede file-based settings. It supports multi-format parsing for JSON, YAML, JavaScript, and TypeScript files, and allows for cust

    JavaScriptconfigdeploymentproperties
    View on GitHub↗6,427
  • metalsmith/metalsmithmetalsmith avatar

    metalsmith/metalsmith

    7,827View on GitHub↗

    Metalsmith is a Node.js static site generator and static content processor that transforms source files into websites, eBooks, or technical documentation. It functions as a file-to-object transformer, converting directory trees into plain JavaScript objects that can be programmatically manipulated in memory. The project is built around a pluggable build pipeline where files are passed through a sequence of custom functions to transform content and metadata incrementally. This architecture allows users to extend functionality by writing their own plugins or using third-party modules to define

    JavaScriptjavascriptmarkdownmarkdown-to-html
    View on GitHub↗7,827
See all 30 alternatives to Cross Env→