Giter VIP home page Giter VIP logo

berrybrew's Introduction

berrybrew

The perlbrew for Windows Strawberry Perl! berrybrew can download, install, remove and manage multiple concurrent versions of Strawberry Perl for Windows.

Synopsis

> berrybrew available

The following Strawberry Perls are available:

            5.20.2_64 [installed]*
            5.20.2_32 [installed]
            5.18.4_64
            5.18.4_32 [installed]
            5.16.3_64
            5.16.3_32 [installed]
            5.14.4_64
            5.14.4_32
            5.12.3_32
            5.10.1_32

* Currently using

> berrybrew install 5.10.1_32

Downloading http://strawberryperl.com/download/5.10.1.2/strawberry-perl-5.10.1.2-portable.zip to C:\Users\brewer\AppData\Local\Temp\s05wwfzt.nmv/strawberry-perl-5.10.1.2-portable.zip
Confirming checksum ...
Extracting C:\Users\brewer\AppData\Local\Temp\s05wwfzt.nmv/strawberry-perl-5.10.1.2-portable.zip

The following Strawberry Perls are available:

        5.20.1_64 [installed]*
        5.20.1_32 [installed]
        5.18.4_64
        5.18.4_32 [installed]
        5.16.3_64
        5.16.3_32 [installed]
        5.14.4_64
        5.14.4_32
        5.12.3_32
        5.10.1_32 [installed]

* Currently using

> berrybrew switch 5.10.1_32

Switched to 5.10.1_32, start a new terminal to use it.

Start a new cmd.exe ...

> perl -v
C:\Users\dfarrell>perl -v

This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

> berrybrew remove 5.10.1_32

Successfully removed Strawberry Perl 5.10.1_32

> berrybrew config

This is berrybrew, version 0.05

Would you like to add berrybrew to your user PATH? y/n [n] y
berrybrew was successfully added to the user PATH, start a new terminal to use it.

> berrybrew exec prove -l

Perl-5.20.1_64
==============
t\DidYouMean.t .. ok
All tests successful.
Files=1, Tests=5,  0 wallclock secs ( 0.06 usr +  0.00 sys =  0.06 CPU)
Result: PASS


Perl-5.20.1_32
==============
t\DidYouMean.t .. ok
All tests successful.
Files=1, Tests=5,  0 wallclock secs ( 0.03 usr +  0.03 sys =  0.06 CPU)
Result: PASS


Perl-5.18.4_64
==============
t\DidYouMean.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/5 subtests

Test Summary Report
-------------------
t\DidYouMean.t (Wstat: 1280 Tests: 5 Failed: 5)
  Failed tests:  1-5
  Non-zero exit status: 5
Files=1, Tests=5,  0 wallclock secs ( 0.02 usr +  0.05 sys =  0.06 CPU)
Result: FAIL

Installation

Use the precompiled binary:

> git clone https://github.com/sillymoose/berrybrew
> cd berrybrew\bin
> berrybrew.exe config

Compile your own version with Mono:

> git clone https://github.com/sillymoose/berrybrew
> cd berrybrew
> mcs -lib:lib -r:ICSharpCode.SharpZipLib.dll -out:bin\berrybrew.exe -win32icon:berrybrew.ico src\berrybrew.cs
> cd bin
> berrybrew.exe config

Commands

berrybrew <command> [option]

license     Show berrybrew license

available   List available Strawberry Perl versions and which are installed
config      Add berrybrew to your PATH
install     Download, extract and install a Strawberry Perl
remove      Uninstall a Strawberry Perl
switch      Switch to use a different Strawberry Perl
exec        Run a command for every installed Strawberry Perl

Requirements

  • .Net Framework 2.0 or higher

  • Windows only!

  • Mono (only if compiling your own version)

Troubleshooting

If you run into trouble installing a Perl, try clearing the berrybrew cached downloads in C:/berrybrew/temp/.

Version

0.12

License

2 Clause FreeBSD - see LICENSE

Author

David Farrell http://perltricks.com

See Also

berrybrew's People

Contributors

hraharahra avatar

Watchers

 avatar  avatar

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.