2 ms·
Every time I update llm I have to reinstall all plugins, like gemini and ollama. My Gemini key is still saved, as are my aliases for my ollama models, so I don'
by sorenjan 1y ago
Every time I update llm I have to reinstall all plugins, like gemini and ollama. My Gemini key is still saved, as are my aliases for my ollama models, so I don't get why the installed plugins are lost.
- simonw 1y agoSorry about that! Presumably you're updating via Homebrew? That blows away your virtual environment, hence why the plugins all go missing. I have an idea to fix that by writing a 'plugins.txt' file somewhere with all of your installed plugins and then re-installing any that go missing - issue for that is here: https://github.com/simonw/llm/issues/575 https://github.com/simonw/llm/issues/575
- sorenjan 1y agoNo, I'm using uv tool just like in that issue. I'll keep an eye on it, at least I know it's not just me.
- tionis 1y agoI'm also using uv tools and fixed it by doing something like this to upgrade: uv tool install llm --upgrade --upgrade --with llm-openrouter --with llm-cmd ...
- johnisgood 1y agoIs the double "--upgrade" a typo?
- tionis 1y agoYes, autocorrect on my phone worked against me
- tinodb 1y agoSame, but put that in a llm-upgrade.sh because the list was getting quite long :)
- varyherb 1y agoI was running into this too until I started upgrading with llm install -U llm instead of uv tool upgrade llm (the latter of which is recommended by simonw in the original post)
- simonw 1y agoThanks! I didn't realize "llm install -U llm" did that. I'll add that to the upgrade docs.