{"id":15056260,"url":"https://github.com/erlang/rebar3_otp_install_plugin","last_synced_at":"2025-08-20T19:05:42.460Z","repository":{"id":136459059,"uuid":"85205279","full_name":"erlang/rebar3_otp_install_plugin","owner":"erlang","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-10T11:51:12.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-06T10:42:56.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erlang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-16T14:30:04.000Z","updated_at":"2022-06-17T16:14:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fb2e2d9-c003-418c-910c-cd6836b359dc","html_url":"https://github.com/erlang/rebar3_otp_install_plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/erlang/rebar3_otp_install_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlang%2Frebar3_otp_install_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlang%2Frebar3_otp_install_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlang%2Frebar3_otp_install_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlang%2Frebar3_otp_install_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erlang","download_url":"https://codeload.github.com/erlang/rebar3_otp_install_plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlang%2Frebar3_otp_install_plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632057,"owners_count":23491530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T21:49:36.945Z","updated_at":"2025-07-04T23:07:43.357Z","avatar_url":"https://github.com/erlang.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"rebar3_otp_install_plugin\n=====\n\nA rebar3 plugin for installing OTP applications\n\n\nDescription\n-----------\n\nThis plugin makes it possible to restore the OTP bundle as it looked\nbefore OTP-20, i.e. the applications that have been moved out of the\nOTP repository can be installed into `/usr/local/lib/erlang/lib/` or\n`$HOME/.local/lib/erlang/lib` or any other suitable place where `erl`\ncan find them again.\n\nThe decoupled applications are proper `rebar3` applications, but since\nthey are used in legacy project, this plugin is provided to allow\ncontinued use without converting the projects to using `rebar3` for\npackaging.\n\nThe plugin is implemented in the `otp` namespace.\n\n\nBuild\n-----\n\n    $ rebar3 compile\n\nUsage\n-----\n\trebar3 otp install [\u003capp\u003e] [-r \u003crepo\u003e] [-v \u003cversion\u003e] [-t \u003ctag\u003e]\n                          [-r \u003cref\u003e] [-b \u003cbranch\u003e] [-o \u003ctarget\u003e]\n                          [--nodeps]\n\n    \u003capp\u003e          The application to install. If not given, the application\n                   found in the current directory is installed.\n    -r, --repo     Git repository to fetch application from. Default is the\n                   official erlang/OTP repository for the given application.\n    -v, --version  Application version. Default is the latest from master\n                   branch.\n    -t, --tag      Git tag for application. Default is the latest from\n                   master branch.\n    -r, --ref      Git ref for application. Default is the latest from\n                   master branch.\n    -b, --branch   Git branch for application. Default is master.\n    -o, --target   Directory where the apps shall be installed. A\n                   subdirectory named erlang will be created under the given\n                   target directory. Default is $HOME/.local/lib.\n    --nodeps       Install only the primary application, no dependecies.\n\n\nExample\n-------\n\nAdd the plugin to your rebar config (typically your global config\n$HOME/.config/rebar3/rebar.config):\n\n    {plugins, [{rebar3_otp_install_plugin,\n                {git, \"git@github.com:erlang/rebar3_otp_install_plugin.git\",\n                 {tag, \"0.1\"}}}\n              ]}.\n\nThen just call your plugin directly in any directory:\n\n\n    $ rebar3 otp install typer -v 0.9.13\n      ===\u003e Compiling rebar3_otp_install_plugin\n      ===\u003e Verifying dependencies...\n      ===\u003e Verifying dependencies...\n      ===\u003e Fetching typer ({git,\"git@github.com:erlang/typer.git\",\n                                       {tag,\"0.9.13\"}})\n      ===\u003e Fetching rebar3_appup_plugin ({pkg,\u003c\u003c\"rebar3_appup_plugin\"\u003e\u003e,\n                                                 \u003c\u003c\"2.2.0\"\u003e\u003e})\n      ===\u003e Downloaded package, caching at ....\n      ===\u003e Compiling rebar3_appup_plugin\n      ===\u003e Compiling rebar3_otpdoc_plugin\n      ===\u003e Compiling typer\n      ===\u003e Compiling typer.appup.src\n      ===\u003e Building escript...\n      ===\u003e Installing applications: [typer]\n\n\nor inside a OTP application directory:\n\n\t$ rebar3 otp install\n      ===\u003e Verifying dependencies...\n      ===\u003e Compiling typer\n      ===\u003e Compiling typer.appup.src\n      ===\u003e Building escript...\n      ===\u003e Installing application from current project\n      ===\u003e Installing applications: [typer]\n\nMake sure that you start your erlang node with additional paths to\ninstalled libs and executables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferlang%2Frebar3_otp_install_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferlang%2Frebar3_otp_install_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferlang%2Frebar3_otp_install_plugin/lists"}