# \#opam-switch

**URL:** https://discuss.ocaml.org/tag/opam-switch/429.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Using ocaml-lsp-server with opam switches in neovim](https://discuss.ocaml.org/t/using-ocaml-lsp-server-with-opam-switches-in-neovim/14428)

<div class="topic-metadata">

**Author:** [@andunie](https://discuss.ocaml.org/u/andunie)\
**Replies:** 10\
**Last updated:** [October 25, 2024, 2:43pm UTC](https://discuss.ocaml.org/t/using-ocaml-lsp-server-with-opam-switches-in-neovim/14428 "2024-10-25T14:43:07Z")

</div>

I was using a single global opam switch for multiple Ocaml projects and things were going well – but then suddenly when I installed some package a bunch of other packages were removed. So I decided to try creating a dif…

---

## [Creating opam switch version 5.3.0+trunk](https://discuss.ocaml.org/t/creating-opam-switch-version-5-3-0-trunk/15121)

<div class="topic-metadata">

**Author:** [@pyvovale](https://discuss.ocaml.org/u/pyvovale)\
**Replies:** 22\
**Last updated:** [August 18, 2024, 10:09am UTC](https://discuss.ocaml.org/t/creating-opam-switch-version-5-3-0-trunk/15121 "2024-08-18T10:09:24Z")

</div>

I installed Ocaml on windows, and now I would like to create a new switch. In powershell I typed the following: opam switch create ocaml-variants 5.3.0+trunk --jobs=1 Here is the output that I get: \<\>\<\> Installing new…

---

## [How to locate all the switches in Visual Studio Code](https://discuss.ocaml.org/t/how-to-locate-all-the-switches-in-visual-studio-code/15147)

<div class="topic-metadata">

**Author:** [@pyvovale](https://discuss.ocaml.org/u/pyvovale)\
**Replies:** 6\
**Last updated:** [August 16, 2024, 9:15pm UTC](https://discuss.ocaml.org/t/how-to-locate-all-the-switches-in-visual-studio-code/15147 "2024-08-16T21:15:27Z")

</div>

I installed WLS2, and then Ubuntu on Windows 11, and finally OCaml. Here are the switches that I have: However, Visual Studio Code is unable to locate those: Would you kindly help me in locating the folder with th…

---

## [Creating opam switch version 5.1.1](https://discuss.ocaml.org/t/creating-opam-switch-version-5-1-1/15123)

<div class="topic-metadata">

**Author:** [@pyvovale](https://discuss.ocaml.org/u/pyvovale)\
**Replies:** 4\
**Last updated:** [August 13, 2024, 8:53pm UTC](https://discuss.ocaml.org/t/creating-opam-switch-version-5-1-1/15123 "2024-08-13T20:53:08Z")

</div>

This issue could be related to this one. I installed Ocaml on windows, and now I would like to create a new switch. In powershell I typed the following: opam switch create ocaml-base-compiler 5.1.1 --jobs=1 Here is the…

---

## [\`ocamlfind\` not finding \`opam\` installed packages](https://discuss.ocaml.org/t/ocamlfind-not-finding-opam-installed-packages/13803)

<div class="topic-metadata">

**Author:** [@Cast\_Away](https://discuss.ocaml.org/u/Cast_Away)\
**Replies:** 5\
**Last updated:** [January 7, 2024, 6:31am UTC](https://discuss.ocaml.org/t/ocamlfind-not-finding-opam-installed-packages/13803 "2024-01-07T06:31:06Z")

</div>

I’m not an ocaml programmer, but I use or experiment with a few ocaml programs. After happily makeing one program for years, I decided to explore another program. The new program recommended using opam switch (some kin…

---

## [\[OPAM\] adding flags to \`./configure\`](https://discuss.ocaml.org/t/opam-adding-flags-to-configure/11832)

<div class="topic-metadata">

**Author:** [@anzhi0708](https://discuss.ocaml.org/u/anzhi0708)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 6:53am UTC](https://discuss.ocaml.org/t/opam-adding-flags-to-configure/11832 "2023-03-30T06:53:12Z")

</div>

Hello! I’m trying to manually install a develop switch with git clone and then opam switch create . --empty; opam install . but I have to add --disable-warn-error to configure so that the switch can be installed. Should …

---

## [Create opam switches in parallel](https://discuss.ocaml.org/t/create-opam-switches-in-parallel/10704)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 3\
**Last updated:** [November 15, 2022, 5:50pm UTC](https://discuss.ocaml.org/t/create-opam-switches-in-parallel/10704 "2022-11-15T17:50:34Z")

</div>

\[found the answer\] I’d like to do some testing on a bunch of different ocaml versions, and for this I need to create a bunch of switches for different ocaml versions. Is there a way I can create them all in parallel ? …

---

## [Opam switch list-available showing fewer switches when run on arm64](https://discuss.ocaml.org/t/opam-switch-list-available-showing-fewer-switches-when-run-on-arm64/7580)

<div class="topic-metadata">

**Author:** [@ELLIOTTCABLE](https://discuss.ocaml.org/u/ELLIOTTCABLE)\
**Replies:** 3\
**Last updated:** [April 4, 2021, 10:16pm UTC](https://discuss.ocaml.org/t/opam-switch-list-available-showing-fewer-switches-when-run-on-arm64/7580 "2021-04-04T22:16:07Z")

</div>

I’ve got an ARM / Apple Silicon / M1 Macbook, and I’m attempting to setup a project for development on it. Generally, to build compilers and tooling, I’ve slowly learned to use arch -arm64 before commands to ensure they…
