Forrest logo
tool overview
On this page you find all important commands for the CLI tool plenv. If the command you are looking for is missing please ask our AI.

plenv

plenv is a command line tool used for managing multiple versions of the Perl programming language on a single machine. It allows users to easily switch between different Perl installations without conflicts.

With plenv, you can install and manage multiple Perl versions side by side and specify which version to use for different projects or applications. This is particularly useful for developers who work on projects that require specific Perl versions.

plenv works by providing an isolated environment for each Perl version, ensuring that dependencies and libraries don't clash. It allows you to easily switch between these environments, making it simple to test your code across different Perl versions.

The tool also integrates with cpanm, a popular Perl package manager, allowing you to install modules specific to a particular Perl version. This facilitates managing dependencies for different projects seamlessly.

plenv also provides a plugin system that extends its functionality. The plugins enable additional features, such as automatic Perl version switching based on project directories, virtual environment support, and command aliasing.

It offers a flexible configuration system that enables users to customize plenv to their preferences. This allows you to set environment variables, define aliases, and configure various options as per your requirements.

plenv is designed to function on UNIX-like operating systems, including Linux and macOS. It depends on the availability of certain build tools like make, gcc, and others to successfully compile and install Perl versions.

Overall, plenv simplifies the management of multiple Perl installations, assisting developers in ensuring compatibility and smooth transitioning between different Perl versions as needed.

List of commands for plenv:

  • plenv:tldr:26f41 plenv: Set the local application-specific Perl version (used in the current directory and all directories below it).
    $ plenv local ${version}
    try on your machine
    explain this command
  • plenv:tldr:82227 plenv: List all available installed Perl versions.
    $ plenv versions
    try on your machine
    explain this command
  • plenv:tldr:86331 plenv: Show the currently selected Perl version and how it was selected.
    $ plenv version
    try on your machine
    explain this command
  • plenv:tldr:93145 plenv: Display help.
    $ plenv
    try on your machine
    explain this command
  • plenv:tldr:a4b45 plenv: Set the global Perl version (used unless a local or shell version takes priority).
    $ plenv global ${version}
    try on your machine
    explain this command
  • plenv:tldr:a8a19 plenv: Display help for a command.
    $ plenv help ${command}
    try on your machine
    explain this command
  • plenv:tldr:efd34 plenv: Set the shell-specific Perl version (used for the current session only).
    $ plenv shell ${version}
    try on your machine
    explain this command
tool overview