Package Details: powershell-bin 7.0.3-1

Git Clone URL: (read-only, click to copy)
Package Base: powershell-bin
Description: A cross-platform automation and configuration tool/framework (binary package)
Upstream URL:
Conflicts: powershell
Provides: powershell
Submitter: nonyy
Maintainer: istimaldar_sntlk
Last Packager: istimaldar_sntlk
Votes: 36
Popularity: 1.70
First Submitted: 2017-05-07 11:30
Last Updated: 2020-08-22 09:01

Pinned Comments

kylesferrazza commented on 2017-10-26 17:49

Note that the binary is now called "pwsh"

Latest Comments

1 2 Next › Last »

ohkeenan commented on 2020-08-30 20:10

Anyone else having an issue with pwsh taking > 60 seconds to load?

Once it's done whatever initialization stuff it does it runs fine but it takes around 60 seconds to get from:

PowerShell 7.0.3
Copyright (c) Microsoft Corporation. All rights reserved.
Type 'help' to get help.`


PS /home/user>

I read on the github issues some people say it's checking for updates and you can disable that with an env variable but it sounds like it's unsupported on linux thus far. Or maybe it's just me?

kylesferrazza commented on 2020-06-12 15:31

Sorry for the delay, updated.

jthompson333 commented on 2020-06-08 15:18

Are there any plans to get this on the current powershell 7 stable? I might be able to help, however, I confess I haven't done an aur package in a long time...

cfinnberg commented on 2020-06-06 19:43

This has been flagged out-of-date three weeks ago. Is the maintainer still around?

skinnymatt commented on 2020-03-13 12:13

This worked for me, using the .tar.gz source, rather than the .deb package:

package() {
  mkdir -p ${pkgdir}/usr/local/lib/powershell
  cp -r ${srcdir}/* ${pkgdir}/usr/local/lib/powershell

  mkdir -p ${pkgdir}/usr/local/bin
  ln -s /usr/local/lib/powershell/pwsh ${pkgdir}/usr/local/bin/pwsh

ImNtReal commented on 2020-03-11 20:00

This worked for me for 7.0.0:

agowa338 commented on 2020-03-07 23:45

For powershell 7:

  • changed dependencies

  • use _pkgver var for detecting major version

  • use sha256 for validation, as that is also printed on the releases page on github.

diff --git a/PKGBUILD b/PKGBUILD
index fd1524c..156c217 100644
@@ -2,19 +2,19 @@
 # Contributor: Tomasz Hamerla <>

 pkgdesc='A cross-platform automation and configuration tool/framework (binary package)'
-depends=('libunwind' 'icu' 'openssl-1.0')
+depends=('krb5' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl-1.0' 'icu')
 options=(staticlibs !strip)

 package() {
   bsdtar xf data.tar.gz
@@ -26,5 +26,5 @@ package() {
   cp -r usr/local/share usr
   rm -rf usr/local

-  chmod 755 "opt/microsoft/powershell/6/pwsh"
+  chmod 755 "opt/microsoft/powershell/${_pkgver:0:1}/pwsh"

Orionis commented on 2020-02-05 11:24

Considering it has been flagged as out-of-date, perhaps it is time to update to 6.2.4?

kylesferrazza commented on 2019-05-09 17:05


The .tar.gz is missing the "pwsh" manual page.

hvksmr1996 commented on 2019-05-09 10:37

Can you switch from using .deb file as source to .tar.gz file?