Distribute OSX release as a Homebrew formula
See original GitHub issueAs 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:
- Created 7 years ago
- Reactions:23
- Comments:7 (4 by maintainers)
Top 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 >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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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).
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😃