Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[alpine Linux] - some missing standard Modules in alpine linux APK package #20143

@the-hotmann

Description

@the-hotmann

Prerequisites

Steps to reproduce

  1. Use a alpine linux docker container
  2. install powershell (apk add powershell)
  3. try to install or import literally anything
  4. run in the error

Expected behavior

I assumed it at least is able to install and handle modules on linux already

Actual behavior

It triggers this error:


The term 'Install-Module' is not recognized as a name of a cmdlet,
function, script file, or executable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try
again.

Error details

No response

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Linux 6.4.0-3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.4.11-1 (2023-08-17)
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
$env:PATH
/usr/lib/powershell:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageThe issue is new and needs to be triaged by a work group.OS-Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions