Skip to content

Instantly share code, notes, and snippets.

@keisatou
Created November 16, 2013 12:08
Show Gist options
  • Save keisatou/7499464 to your computer and use it in GitHub Desktop.
Save keisatou/7499464 to your computer and use it in GitHub Desktop.
cpanm -l local https://github.com/<user_name>/<repo_name>/tarball/<branch_name>
e.g.
cpanm -l local https://github.com/issm/p5-Amon2-Plugin-Model/tarball/master
Copy link

ghost commented Jun 8, 2022

Hello! I know this is a very old gist, but just FYI for people in the future that will see this, modern cpanm (at least, this should be true for cpanm 1.7046) could install modules from Github just like you would install modules from CPAN/MetaCPAN.

From perldoc cpanm

        For a git repository, you can specify a branch, tag, or commit SHA to
        build. The default is "master"

            cpanm git://github.com/plack/Plack.git@1.0000        # tag
            cpanm git://github.com/plack/Plack.git@devel         # branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment