mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 13:02:08 +02:00
plenv: add page (#7118)
This commit is contained in:
parent
1611c5f0a2
commit
c39d4cb29f
1 changed files with 32 additions and 0 deletions
32
pages/common/plenv.md
Normal file
32
pages/common/plenv.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# plenv
|
||||||
|
|
||||||
|
> Switch between multiple versions of Perl.
|
||||||
|
> More information: <https://github.com/tokuhirom/plenv>.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue