HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

perlbrew — Manage Perl installations in the home directory. See also: `asdf`. More information: <https://github

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thehomecommandclimanageperlbrewperlinstallations

Problem

How to use the perlbrew command: Manage Perl installations in the home directory. See also: asdf. More information: <https://github.com/gugod/App-perlbrew>.

Solution

perlbrew — Manage Perl installations in the home directory. See also: asdf. More information: <https://github.com/gugod/App-perlbrew>.

Initialize a perlbrew environment:
perlbrew init


List available Perl versions:
perlbrew available


Install/uninstall a Perl version:
perlbrew {{install|uninstall}} {{version}}


List perl installations:
perlbrew list


Switch to an installation and set it as default:
perlbrew switch perl-{{version}}


Use the system Perl again:
perlbrew off


List installed CPAN modules for the installation in use:
perlbrew list-modules


Clone CPAN modules from one installation to another:
perlbrew clone-modules {{source_installation}} {{destination_installation}}

Code Snippets

Initialize a `perlbrew` environment

perlbrew init

List available Perl versions

perlbrew available

Install/uninstall a Perl version

perlbrew {{install|uninstall}} {{version}}

List perl installations

perlbrew list

Switch to an installation and set it as default

perlbrew switch perl-{{version}}

Context

tldr-pages: common/perlbrew

Revisions (0)

No revisions yet.