JS Utils Kit
    Preparing search index...

    Function appendEnv

    • Append a value to an existing environment variable.

      Parameters

      • k: string

        Environment variable name

      • v: string

        Value to append

      • sep: ";" | ":" = delimiter

        Separator

      Returns void

      • Useful for variables like PATH that contain multiple entries.
      • The platform-specific delimiter is used by default:
        • Windows → ;
        • Unix/Linux/macOS → :
      appendEnv("PATH", "/custom/bin");