@mikeyt23/node-cli-utils
    Preparing search index...

    Function whichWsl

    • Get the location of a system command within WSL. Call from non-WSL context like Powershell or CMD to see if a command exists within your default wsl installation. See also: which.

      Parameters

      • commandName: string

        The name of the command to find within WSL installation

      Returns Promise<WhichResult>

      The first location of the command, any additional locations, and an error if one occurred

      If run from non-windows platform or wsl is not installed/accessible/configured