berrybrew debug <command> [options]
This command preceeds all others, and can be used in conjunction with all other commands. Depending on the scenario, it will print out verbose debugging information.
Takes no options, displays a list of all available Perl versions, which includes installed and custom versions. A shortened example:
The following Strawberry Perls are available: 5.24.1_64 [installed] ... 5.22.3_64 5.12.3_32 5.10.1_32 [installed] template-5.24 [custom] [installed] unit_test-5.18 [custom] [installed] * * Currently using
berrybrew clean [option]
By default, if either
help or a subcommand are not specified, we'll
simply delete the downloaded Perl installation zip files from the temporary
help Displays the subcommand help screen temp Deletes all Perl installation zip files orphan Deletes any directories in the Perl install directory that berrybrew hasn't registered all Performs both a 'temp' and 'orphan' clean
berrybrew clone <version> <name>
Makes a copy of an installed
version (as seen in
and copies it as an exact duplicate named
name. The new named Perl will
configuring an instance of Perl with all of your favourite modules, and cloning it for use as a template to easily reproduce your favourite configurations
making snapshots of Perl installations before making changes, to provide an immediate restoration point
creating standalone, project-specific Perl installations, that can be snapshot and re-cloned
creating build instances for your own modules
Takes no arguments. Simply sets up your
PATH environment variables so that
berrybrew can be found without specifying the full path to the binary.
berrybrew exec [options] <command>
Executes the command and its arguments found in
executes it across all installed Perl instances, less ones that have
template in the name.
Also, by default, we don't execute on custom (cloned) instances. Set
true in the config file to
exec on those as well.
--with version,version,... Run only on the listed versions
berrybrew fetch [all]
Pulls the JSON list of available Strawberry Perl instances from the Strawberry
website, and puts them into the
data/perls.json file. Any updates will be
available immediately with
Send in the all string as a subcommand and instead of listing the most recent version for every major version, we'll download every version that Strawberry has to offer.
berrybrew install <version>
Installs a single Perl version as seen in
berrybrew available, and makes it
available for use.
berrybrew Perl installations. If you have a Strawberry or
ActiveState system Perl installed, it'll be used until you
back to a
berrybrew controlled Perl.
berrybrew register <directory>
Registers a custom installation within the Perl instance directory that was
placed there outside of
This allows you to copy in other portable Strawberry Perl instances from
elsewhere on your system, or from remote systems and have them operate under
berrybrew remove <version>
Removes a single version of Perl, as seen in
berrybrew switch <version>
Sets the verion of Perl as seen in
berrybrew available to the default
system Perl. This change is persistent. Use
berrybrew off to disable the
switched-to Perl, or use
switch to change to a different one.
Removes berrybrew's binary directory from the
PATH environment variable.
backup_timestamp backup directory in the repository root directory,
copies the live configuration files from
data directory, performs a
git pull. All configuration files less the
perls_custom.json file are
overwritten with any new changes. It is up to the user to manually merge in any
custom changes to the other configuration files from the backups into the new
berrybrew use [options] version[,version[,...]]
Runs a command-line environment with the selected version or versions of perl at the head of the path, so it will be the active perl.
By default, it will run them inside the same window which ran berrybrew. To
exit a given version, type
exit; this will either move you forward to the
next selected version of perl, or it will return you to the shell that called
berrybrew. Inside each subshell, the
PATH will be changed to point to
the selected version of perl, but when it returns to the shell that ran
PATH will return to its previous setting.
berrybrew use --win version[,version[,...]] berrybrew use --window version[,version[,...]] berrybrew use --windowed version[,version[,...]]
--win option (or it's variants), berrybrew will spawn a new window
for each version of perl selected. Type
exit to close the spawned
environment. After spawning one or more windows, the window from which
berrybrew was run is still available for use.
Displays a summarized view of the available commands.
berrybrew license to
Displays the current version of the
berrybrew.exe binary and
© 2017 by Steve Bertrand