Package Details: powershell 6.2.1-1

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: microsoft powershell shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 47
Popularity: 3.233754
First Submitted: 2016-11-26 22:16
Last Updated: 2019-05-29 14:53

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 »

sogaiu commented on 2019-06-15 04:11

Following up on earlier comments (e.g. having to do with PSReadLine), here is some info comparing the -bin and vanilla packages (at least as of version 6.2.1-1):

The output of Get-Module -listavailable for the powershell-bin package (6.2.1-1) is (sorry for the truncation):

ModuleType Version    Name                                PSEdition ExportedCommands
---------- -------    ----                                --------- ----------------
Manifest   1.2.3.0    Microsoft.PowerShell.Archive        Desk      {Compress-Archive, Expa…
Manifest   6.1.0.0    Microsoft.PowerShell.Host           Core      {Start-Transcript, Stop…
Manifest   6.1.0.0    Microsoft.PowerShell.Management     Core      {Add-Content, Clear-Con…
Manifest   6.1.0.0    Microsoft.PowerShell.Security       Core      {Get-Credential, Get-Ex…
Manifest   6.1.0.0    Microsoft.PowerShell.Utility        Core      {Export-Alias, Get-Alia…
Script     1.3.2      PackageManagement                   Desk      {Find-Package, Get-Pack…
Script     2.1.3      PowerShellGet                       Desk      {Find-Command, Find-DSC…
Script     0.0        PSDesiredStateConfiguration         Desk      {AddDscResourceProperty…
Script     2.0.0      PSReadLine                          Desk      {Get-PSReadLineKeyHandl…
Binary     1.1.2      ThreadJob                           Desk      Start-ThreadJob

while for this package, I saw:

ModuleType Version    Name                                PSEdition ExportedCommands
---------- -------    ----                                --------- ----------------
Manifest   6.1.0.0    Microsoft.PowerShell.Host           Core      {Start-Transcript, Stop…
Manifest   6.1.0.0    Microsoft.PowerShell.Management     Core      {Add-Content, Clear-Con…
Manifest   6.1.0.0    Microsoft.PowerShell.Security       Core      {Get-Credential, Get-Ex…
Manifest   6.1.0.0    Microsoft.PowerShell.Utility        Core      {Export-Alias, Get-Alia…
Script     0.0        PSDesiredStateConfiguration         Desk      {ValidateNodeResourceSo…

Not sure if it's related, but the issue tracker for powershell, came across:

https://github.com/PowerShell/PowerShell/issues/9005

May be some of these bits can help the current situation.

xopher_mc commented on 2019-05-25 10:36

For those having the locale problem make sure that the en_US.UTF-8 is uncommented in /etc/locale.gen. Then run as root locale-gen. The problem is that the locale must exist to be switched to, even if it isn't the locale you are usually using.

sengle commented on 2019-05-14 22:49

Sorry I missed what you were saying about PSReadLine not being in the build. Here is what I did as a workaround.

1) Download the archive from Github.

https://github.com/PowerShell/PowerShell/releases/download/v6.2.0/powershell-6.2.0-linux-x64.tar.gz

2) Extract PSReadLine from the Modules directory of the archive to the /usr/lib/powershell/linux-x64/Modules directory.

sudo tar -C /usr/lib/powershell/linux-x64 -xvf powershell-6.2.0-linux-x64.tar.gz ./Modules/PSReadLine

3) Now if you restart pwsh it should work fine or you can manually import the module and enable tab completion.

Import-Module PSReadLine

Set-PSReadLineKeyHandler -Key Tab -Function Complete

Hope this helps until the build is fixed.

kylesferrazza commented on 2019-04-28 14:22

@bdurbin Not sure why PSReadline isn't part of the build process but I'm happy to look into it or accept a patch if you figure it out before I do.

bdurbin commented on 2019-04-28 02:29

Just curious, but why is PSReadline not in this package, yet it's in powershell-bin? I can try to find some time to investigate, but I thought I'd ask.

FranklinYu commented on 2019-02-23 04:14

@DragonX256 There is only one commit for version 6.1.3 in Git log. There is probably something wrong with your package manager if it builds 6.1.3 twice. Please report to Yay instead of here.

DragonX256 commented on 2019-02-23 04:03

Isn't this package shouldn't have been built like powershell-git? It should built only once. On my system with yay package manager it already built 6.1.3-1 version two times because of new commits in repo.

lainpants commented on 2018-11-28 05:56

@luka-devnull Just upgraded and also noticed the missing PSReadLine. Really hurts using powershell without it...

kylesferrazza commented on 2018-10-08 23:21

@ajkerzner good catch, I will add it to the makedepends

ajkerzner commented on 2018-10-06 11:04

FYI - this package depends on patch, but it's not a listed dependency.