question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Distribute OSX release as a Homebrew formula

See original GitHub issue

As a devops type nerd, I want to be able to install and update PowerShell/OSX via the CLI, and also with my preferred packaging tool, namely Homebrew (http://brew.sh).

Yes, the the OSX native installer packages (.pkg) can be installed via CLI (with the installer command), but it requires sudo. AFAICT, PowerShell is installed to /usr/local/bin and does not require sudo at all otherwise.

Homebrew is basically the de-facto CLI package manager on OSX like choco.exe is on Windows. It does not require sudo for packages to be installed.

Instructions to create a formula: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Formula-Cookbook.md

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:23
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
andyleejordancommented, Aug 18, 2016

Keep in mind that we probably need https://github.com/dotnet/cli/issues/533 too (at least to do it right! in the short term we can install dotnet locally to build).

4reactions
analogrelaycommented, Aug 18, 2016

This would be awesome. I’d jump in to build the formula but I don’t want to stomp on a possible official homebrew tap. I hope we can get this soon! I want brew install powershell 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Distribute your application via Homebrew
Homebrew formulae are essentially ruby scripts which stores information about your application. It tells homebrew important information ...
Read more >
How to Distribute Binaries for OS X Using Homebrew
(2) 'brew update' will need to download (via 'git pull') all changes to your repository any time you update, even when the Homebrew...
Read more >
Formula Cookbook
Documentation for the missing package manager for macOS (or Linux).
Read more >
Distributing command line tools with Homebrew
In our example all we will have to do is to bump the version of the formula: version 0.1.9 → version 0.2.0, and...
Read more >
Swift Program Distribution with Homebrew
A Homebrew formula is a Ruby file that contains instructions for installing a library or executable on your system. Run the brew create ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found