Package Details: powershell 7.0.3-1

Git Clone URL: (read-only, click to copy)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL:
Keywords: microsoft powershell shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 57
Popularity: 0.157635
First Submitted: 2016-11-26 22:16
Last Updated: 2020-08-29 18:56

Pinned Comments

kylesferrazza commented on 2017-10-26 18:01

Note that the binary is now called "pwsh"

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Kyrios commented on 2020-08-09 20:42

Run yay --editmenu -S powershell to alter the PKBUILD from 7.0.2 to 7.0.3 to manually update to the latest version.

Case_Of commented on 2020-06-11 08:17

Hello, Do anyone know how to install PowerShellGet to be able to use modules from PowerShell Gallery?

Gr3q commented on 2020-04-17 09:09

@kylesferrazza I'm willing to upload to AUR the specific dotnet SDK versions required for this package.

Let me know if you want me to, but if you do you will need to let me know beforehand next time the required SDK changes.

milesxu commented on 2020-03-30 12:44

Has anyone ever encountered Cannot get symbol numa_node_of_cpu from libnuma error? I have encountered this error with all versions of pwsh 7, on linux kernel 5.5.13-1 and numactl 2.0.13-2

kingkingmax commented on 2020-03-24 07:06

Here is the output of

dotnet --list-runtimes >Microsoft.AspNetCore.App 3.1.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0-preview.1.20124.5 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0-preview.3.20170.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.2 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.0-preview.1.20120.5 [/opt/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.0-preview.3.20169.1 [/opt/dotnet/shared/Microsoft.NETCore.App]

But still failed with powershell/src/powershell/src/powershell-unix/powershell-unix.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64 with version (= 3.1.3)

FirstAirBender commented on 2020-03-23 20:39

You need to specify that the dotnet-sdk version has to be 3.1.2 because 3.1.3 for Microsoft.NETCore.App.Runtime.linux-x64/ does not exist in the nuget as you can see here.

I had to manually install the sdk by using the command:

pacman -U{sdk,host,runtime}-3.1.2.sdk102-1-x86_64.pkg.tar.zst

It may also help to delete those packages from the cache before running the above command

In the end I gave up and just installed the bin version (powershell-bin)

kingkingmax commented on 2020-03-23 13:50

I tried to install this package, but failed with following: /build/powershell/src/powershell/src/powershell-unix/powershell-unix.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64 with version (= 3.1.3) Then I tried to update dotnet SDK to 3.1.3 (3.1.300-preview-015048), but its still failed with A compatible installed .NET Core SDK for global.json version [3.1.102] from [/home/acc1/.cache/yay/powershell/src/powershell/global.json] was not found

kylesferrazza commented on 2020-03-18 21:00

Waiting on an answer from upstream for the 7.0 update here. If you need 7.0 now, check out powershell-bin:

EDIT: the package has been updated :)

punkrockguy318 commented on 2020-02-26 17:06

Apparently some of the standard components of powershell are not contained in the Powershell repo, but other repos like:

Does anyone know if this is packaged elsewhere? As a beginner powershell user, I was having a tough time figuring out why "Install-Module" was not working

Obi_Juanb8b commented on 2020-01-25 18:20

Regarding the error message from @DuBistKomisch...I had a similiar error. I think the makedepends may need to be changed. In addition to the 'dotnet-sdk' (which is .NET Core 3) I had to install 'dotnet-sdk-2.2' from community as well. Then when I built this packaged it installed correctly.