How to run "brew" command in windows ..?

It shows " brew" is not recognized as an internal or external command "in the Windows command line.

enter image description here

I am trying to install codeigniter -actjs-example from github where the first command is brew

. How do I run this command to install this project on Windows ..?

+5


source to share


4 answers


Homebrew is a command line-only installer for MacOSX and does not exist for Windows.

Windows alternatives:



  • chocolate
  • Npackd
  • scoop
  • OneGet for Windows 10

Source: https://laracasts.com/discuss/channels/laravel/homebrew-install-on-windows-os

+17


source


As mentioned in the comments, Homebrew is a package manager for OSX, very similar to Aptitude on Linux. You can't install Homebrew on Windows and you never can, so you need to find a new way to get what you're doing. I think you are trying to work with Google V8 Javascript engine, so why not give it a try: https://github.com/phpv8/v8js



+1


source


Homebrew is a package manager for OS X. Windows cannot use Homebrew. Even if there was a way to get the pass, the packets would not work.

This link below can help you find an alternative.

http://alternativeto.net/software/homebrew/

0


source


It shows "brew" is not recognized as an internal or external command "in the Windows command line.

No more, 19 months later (Feb 2019 vs. Jul 2017)

At least not in Windows 10, but in a WSL (Windows Subsystem for Linux) session .
As mentioned by Mike McQuade

Homebrew 2.0.0 released (at @FOSDEM!) With official WSL support on Linux and Windows 10 , automatic brew cleanup

(fail with HOMEBREW_NO_INSTALL_CLEANUP

), no more options in Homebrew / core and no longer works on OS X 10.8 and older.

See Homebrew 2.0.0 .

"Homebrew on Linux" is called " Linuxbrew

".
You can install it in your home directory so it doesn't require sudo

it and use it to install software that the host's distribution package manager does not provide. Linuxbrew

It uses its own repository for formulas . Linuxbrew/homebrew-core

Again, this is not native Windows support, but Linux (via the WSL layer on Windows 10).

0


source







All Articles