GithubHelp home page GithubHelp logo

homebrew-tap's Introduction

Homebrew tap for PowerShell Products

Requirements

  1. You must be running a version of macOS supported by PowerShell.
  2. See Homebrew requirements

Fomula List

PowerShell Channels

  • Stable
  • Preview
  • LTS
  • Daily
    • Daily is marked as not supported and will only be occasionally update. Please move to one of the other channels.

Learn more about using PowerShell ...

Issues can be reported at PowerShell/PowerShell.

Install Instructions

PowerShell Stable

brew install powershell/tap/powershell

You can now run the pwsh to get started.

To upgrade to the latest version, run:

brew upgrade powershell

PowerShell Preview

brew install powershell/tap/powershell-preview

You can now run the pwsh-preview to get started.

To upgrade to the latest version, run:

brew upgrade powershell-preview

PowerShell LTS

brew install powershell/tap/powershell-lts

You can now run the pwsh-lts to get started.

To upgrade to the latest version, run:

brew upgrade powershell-lts

PowerShell Daily

brew install powershell/tap/powershell-daily

You can now run the pwsh-daily to get started.

To upgrade to the latest version, run:

brew upgrade powershell-daily

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.

homebrew-tap's People

Contributors

andyleejordan avatar bmkaiser avatar github-actions[bot] avatar microsoft-github-policy-service[bot] avatar mjecloud avatar peterlewis avatar pwshbot avatar soyfrien avatar srz-zumix avatar stevel-msft avatar stevenbucher98 avatar travisez13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebrew-tap's Issues

Update for Powershell 7.4.2

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Seems like the update bot is not working ๐Ÿ˜” The latest version is outdated

Expected behavior

Updated version

Actual behavior

Outdated version

Error details

No response

Environment data

N/A

Version

7.4.1

Visuals

No response

`Program 'pwsh-preview' failed to run`

PS /home/BEEDELLROKEJULIANLOCKHART> brew install powershell/tap/powershell-preview
==> Tapping powershell/tap
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/powershell/homebrew-tap'...
remote: Enumerating objects: 2012, done.
remote: Counting objects: 100% (594/594), done.
remote: Compressing objects: 100% (257/257), done.
remote: Total 2012 (delta 483), reused 437 (delta 335), pack-reused 1418
Receiving objects: 100% (2012/2012), 467.60 KiB | 3.74 MiB/s, done.
Resolving deltas: 100% (1406/1406), done.
Tapped 4 formulae (27 files, 563.5KB).
==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.3.0-preview.3/powershell-7.3.0-preview.3-osx-x64.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/49609581/aba54797-7fd0-4fc7-97c0-519a0d089c72?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220519%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220519T093040
######################################################################## 100.0%
==> Installing powershell-preview from powershell/tap
==> Caveats
The executable should already be on PATH so run with `pwsh-preview`. If not, the full path to the executable is:
  /home/linuxbrew/.linuxbrew/opt/powershell-preview/bin/pwsh-preview

Other application files were installed at:
  /home/linuxbrew/.linuxbrew/opt/powershell-preview/libexec

If you also have the Cask installed, you need to run the following to make the formula your default install:
  brew link --overwrite powershell-preview

If you would like to make PowerShell Preview your default shell, run
  sudo echo '/home/linuxbrew/.linuxbrew/opt/powershell-preview/bin/pwsh-preview' >> /etc/shells
  chsh -s /home/linuxbrew/.linuxbrew/opt/powershell-preview/bin/pwsh-preview
==> Summary
๐Ÿบ  /home/linuxbrew/.linuxbrew/Cellar/powershell-preview/7.3.0-preview.3: 584 files, 122.3MB, built in 5 seconds
==> Running `brew cleanup powershell-preview`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
PS /home/BEEDELLROKEJULIANLOCKHART>
PS /home/BEEDELLROKEJULIANLOCKHART> pwsh-preview
ResourceUnavailable: Program 'pwsh-preview' failed to run: An error occurred trying to start process '/home/linuxbrew/.linuxbrew/bin/pwsh-preview' with working directory '/home/BEEDELLROKEJULIANLOCKHART'. Exec format errorAt line:1 char:1
+ pwsh-preview
+ ~~~~~~~~~~~~.
PS /home/BEEDELLROKEJULIANLOCKHART> exit
[BEEDELLROKEJULIANLOCKHART@20221919T051949 ~]$ /home/linuxbrew/.linuxbrew/opt/powershell-preview/bin/pwsh-preview
bash: /home/linuxbrew/.linuxbrew/opt/powershell-preview/bin/pwsh-preview: cannot execute binary file: Exec format error

shell.zip

Make it possible to install on Linux too

Summary of the new feature / enhancement

Context

Homebrew can be installed on Linux:

But one can't install PowerShell with it.

bnt@ubnt-vm:~$ brew install powershell/tap/powershell
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching powershell/tap/powershell
==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-osx-x64.tar.gz
Already downloaded: /home/ubnt/.cache/Homebrew/downloads/46b544647fca473e958b7a620d8e6fa047670193287682d7619a680181bc7501--powershell-7.4.2-osx-x64.tar.gz
==> Installing powershell from powershell/tap
Error: The following formula cannot be installed from bottle and must be
built from source.
  powershell
Install Clang or run `brew install gcc`.
ubnt@ubnt-vm:~$ 

This was on an Ubuntu 24.04 test VM, GCC was installed. Download URL clearly points to the Mac distribution.

Feature request

Allow installing PowerShell with Brew on Linux too.

Proposed technical implementation details (optional)

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.