2025-03-14 21:59:59 -06:00
|
|
|
# plenv
|
|
|
|
|
|
|
|
|
|
> Switch between multiple versions of Perl.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/tokuhirom/plenv#name>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show the currently selected Perl version and how it was selected:
|
|
|
|
|
|
|
|
|
|
`plenv version`
|
|
|
|
|
|
|
|
|
|
- List all available installed Perl versions:
|
|
|
|
|
|
|
|
|
|
`plenv versions`
|
|
|
|
|
|
|
|
|
|
- Set the global Perl version (used unless a local or shell version takes priority):
|
|
|
|
|
|
|
|
|
|
`plenv global {{version}}`
|
|
|
|
|
|
|
|
|
|
- Set the local application-specific Perl version (used in the current directory and all directories below it):
|
|
|
|
|
|
|
|
|
|
`plenv local {{version}}`
|
|
|
|
|
|
|
|
|
|
- Set the shell-specific Perl version (used for the current session only):
|
|
|
|
|
|
|
|
|
|
`plenv shell {{version}}`
|
|
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`plenv`
|
|
|
|
|
|
|
|
|
|
- Display help for a command:
|
|
|
|
|
|
|
|
|
|
`plenv help {{command}}`
|