# Class PathSetup | EchoHub Documentation
Ensures the application's directory is on the system PATH so users can run 'echohub' from any terminal session.

# Class PathSetup

Namespace
  EchoHub.Client.Services

Assembly
  EchoHub.Client.dll

Ensures the application's directory is on the system PATH so users can run 'echohub' from any terminal session.

    public static class PathSetup

Inheritance
  object
  PathSetup

Inherited Members
  object.GetType()
  object.MemberwiseClone()
  object.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.ReferenceEquals(object, object)
  object.GetHashCode()

## Methods

### EnsureOnPath()

Checks if the app directory is on PATH; if not, adds it persistently. On Windows: modifies user-level PATH environment variable. On Linux/macOS: appends an export line to shell profile files.

    public static void EnsureOnPath()