mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 22:58:46 +00:00
Update cheatsheets
This commit is contained in:
42
perlbrew
Normal file
42
perlbrew
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user