{"id":13726178,"url":"https://github.com/ocamllabs/opam-tools","last_synced_at":"2026-02-01T16:05:36.133Z","repository":{"id":56097823,"uuid":"278630982","full_name":"ocamllabs/opam-tools","owner":"ocamllabs","description":"opam plugin to initialise a local development environment for an OCaml project","archived":false,"fork":false,"pushed_at":"2020-11-25T14:26:42.000Z","size":2752,"stargazers_count":19,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-04T01:28:39.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocamllabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-10T12:43:14.000Z","updated_at":"2023-07-27T12:06:48.000Z","dependencies_parsed_at":"2022-08-15T13:10:20.751Z","dependency_job_id":null,"html_url":"https://github.com/ocamllabs/opam-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocamllabs%2Fopam-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocamllabs%2Fopam-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocamllabs%2Fopam-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocamllabs%2Fopam-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocamllabs","download_url":"https://codeload.github.com/ocamllabs/opam-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224654153,"owners_count":17347680,"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-08-03T01:02:54.904Z","updated_at":"2026-02-01T16:05:36.121Z","avatar_url":"https://github.com/ocamllabs.png","language":"OCaml","funding_links":[],"categories":["OCaml"],"sub_categories":[],"readme":"# opam-tools - initialise development environment for an OCaml project\n\n```\n\nNAME\n       opam-tools - Install development tools within a local switch\n\nSYNOPSIS\n       opam-tools [OPTION]... \n\nDESCRIPTION\n       opam-tools installs a local development environment for an OCaml\n       project. It first sets up an opam local switch, which is an _opam\n       directory that contains all the dependencies required to build your\n       code. Since you also need some development tools for building, testing\n       and documenting your code, it installs the binaries for those inside\n       _opam/bin.\n\n       The opam package manager automatically adds this to your PATH for most\n       shells, or else it will be added automatically if you use opam exec --\n       to run your commands. Thus, the end result of invoking opam-tools is\n       that all the tools and dependencies will be available locally after\n       the command completes.\n\n       If you ever need to refresh the versions of the tools, just run opam\n       update to get the latest package descriptions, and opam tools again to\n       reinstall them.\n\nOPTIONS\n       -c COMPILER, --compiler=COMPILER\n           Version of the OCaml compiler to use for this project. If omitted,\n           this defaults to the most recent version that is compatible with\n           the packages used by the project.\n\n       --help[=FMT] (default=auto)\n           Show this help in format FMT. The value FMT must be one of `auto',\n           `pager', `groff' or `plain'. With `auto', the format is `pager` or\n           `plain' whenever the TERM env var is `dumb' or undefined.\n\n       --no-install\n           When creating a local switch, don't look for any local package\n           definitions to install. This can be useful when you just want to\n           get tools installed for a new or work-in-progress project.\n\n       --pin-tool=NAME,URL\n           Override the opam definition of a tool with a custom opam pin.\n           This will cause the tools switch to receive that pin, so it will\n           apply to all future projects with the same OCaml version as well.\n           Format is \u003ctoolname\u003e,\u003curl\u003e to specify a pin URL, or simply\n           \u003ctoolname\u003e,--dev to use the latest development version.\n\n       --tools=TOOLS\n       (absent=ocamlformat,merlin,mdx,dune,odoc,ocaml-lsp-server,dune-release,duniverse)\n           Tools to install within the local switch. These can be any opam\n           packages, but only the binaries will be copied to the local\n           switch.\n\n       --version\n           Show version information.\n\nCOMMON OPTIONS\n       --color=WHEN (absent=auto)\n           Colorize the output. WHEN must be one of `auto', `always' or\n           `never'.\n\n       -q, --quiet\n           Be quiet. Takes over -v and --verbosity.\n\n       -v, --verbose\n           Increase verbosity. Repeatable, but more than twice does not bring\n           more.\n\n       --verbosity=LEVEL (absent=warning)\n           Be more or less verbose. LEVEL must be one of `quiet', `error',\n           `warning', `info' or `debug'. Takes over -v.\n\nSEE ALSO\n       dune(1), dune-release(1), duniverse(1), mdx(1), merlin(1),\n       ocaml-lsp-server(1), ocamlformat(1), odoc(1), opam(1)\n\n```\n\n# Contact\n\n- https://discuss.ocaml.org/ in the Ecosystem category for queries\n  or general comments about this plugin.\n- https://github.com/ocaml-opam/opam-tools/issues for any bug reports\n  or PRs.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focamllabs%2Fopam-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focamllabs%2Fopam-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focamllabs%2Fopam-tools/lists"}