{"id":1200,"date":"2026-04-21T09:53:28","date_gmt":"2026-04-21T09:53:28","guid":{"rendered":"https:\/\/techno.slomka.biz\/?p=1200"},"modified":"2026-04-21T09:56:29","modified_gmt":"2026-04-21T09:56:29","slug":"upgrading-ollama-for-copilot-support-the-step-you-probably-miss","status":"publish","type":"post","link":"https:\/\/techno.slomka.biz\/?p=1200","title":{"rendered":"Upgrading Ollama for Copilot Support: The Step you probably Miss"},"content":{"rendered":"\n<p>Ollama recently added a built-in <strong>Copilot integration<\/strong> \u2014 but only from a certain version onwards. If your installation is older, you&#8217;ll get a confusing error before you even get started. Here&#8217;s exactly what happened when I upgraded, including the one gotcha that tripped me up along the way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Starting Point: An Unsupported Version<\/h2>\n\n\n\n<p>I wanted to launch Ollama&#8217;s new Copilot feature with the <code>kimi-k2.5:cloud<\/code> model. The command looked straightforward:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ ollama launch copilot --model kimi-k2.5:cloud\nError: unknown integration: copilot<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">launch<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">copilot<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">--model<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">kimi-k2.5:cloud<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">Error:<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">unknown<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">integration:<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">copilot<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>The error made it clear: my version of Ollama simply didn&#8217;t know what <code>copilot<\/code> was. A quick version check confirmed the problem:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ ollama --version\nollama version is 0.17.7<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">--version<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">version<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">is<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #F78C6C\">0.17<\/span><span style=\"color: #C3E88D\">.7<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Version <strong>0.17.7<\/strong> \u2014 too old for Copilot. Time to upgrade.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Running the Upgrade<\/h2>\n\n\n\n<p>Ollama&#8217;s official upgrade method is a one-liner install script. The first attempt had a small typo \u2014 a stray period after <code>sh<\/code> \u2014 which Linux helpfully caught:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ curl -fsSL https:\/\/ollama.com\/install.sh | sh.\nCommand 'sh.' not found, did you mean:\n  command 'shc' from deb shc (4.0.3-1)\n  command 'sh' from deb dash (0.5.12-6ubuntu1)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">curl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-fsSL<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">https:\/\/ollama.com\/install.sh<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">|<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">sh.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">Command<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">sh.<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">not<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">found,<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">did<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">you<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">mean:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">  <\/span><span style=\"color: #82AAFF\">command<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">shc<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">from<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">deb<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">shc<\/span><span style=\"color: #EEFFFF\"> (4.0.3-1)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">  <\/span><span style=\"color: #82AAFF\">command<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">sh<\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">from<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">deb<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">dash<\/span><span style=\"color: #EEFFFF\"> (0.5.12-6ubuntu1)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Easy fix \u2014 remove the dot. The corrected command ran successfully:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ curl -fsSL https:\/\/ollama.com\/install.sh | sh\n>>> Cleaning up old version at \/usr\/local\/lib\/ollama\n>>> Installing ollama to \/usr\/local\n>>> Downloading ollama-linux-amd64.tar.zst\n######################################################################## 100.0%\n>>> Adding ollama user to render group...\n>>> Adding ollama user to video group...\n>>> Adding current user to ollama group...\n>>> Creating ollama systemd service...\n>>> Enabling and starting ollama service...\n>>> Nvidia GPU detected.\n>>> The Ollama API is now available at 127.0.0.1:11434.\n>>> Install complete. Run \"ollama\" from the command line.<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">curl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-fsSL<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">https:\/\/ollama.com\/install.sh<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">|<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">sh<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Cleaning<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">up<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">old<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">version<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">at<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/usr\/local\/lib\/ollama<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Installing<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/usr\/local<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Downloading<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama-linux-amd64.tar.zst<\/span><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\">######################################################################## 100.0%<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Adding<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">user<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">render<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">group...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Adding<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">user<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">video<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">group...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Adding<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">current<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">user<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">to<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">group...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Creating<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemd<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">service...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Enabling<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">and<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">starting<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">service...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Nvidia<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">GPU<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">detected.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">The<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">Ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">API<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">is<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">now<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">available<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">at<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #F78C6C\">127.0<\/span><span style=\"color: #C3E88D\">.0.1:11434.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">&gt;&gt;&gt; <\/span><span style=\"color: #FFCB6B\">Install<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">complete.<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">Run<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">from<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">the<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">command<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">line.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>The installer handled everything: removed the old version, downloaded the new binary, configured user groups, set up the systemd service, and detected the Nvidia GPU. Clean and automatic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Gotcha: The Service Needs a Restart<\/h2>\n\n\n\n<p>Even though the installer said it was done, there&#8217;s an important step that&#8217;s easy to miss. The running Ollama service was still the <em>old<\/em> version in memory. Without an explicit restart, the client and service versions would be out of sync, causing warnings and unexpected behaviour.<\/p>\n\n\n\n<p>The fix is a single command:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ sudo systemctl restart ollama<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">restart<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>After that, the version check confirmed the upgrade had fully taken effect:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ ollama --version&lt;br>ollama version is 0.21.0<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">--version<\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #C3E88D\">br<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">version<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">is<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #F78C6C\">0.21<\/span><span style=\"color: #C3E88D\">.0<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>From <strong>0.17.7<\/strong> to <strong>0.21.0<\/strong> \u2014 and now, with the service properly restarted, the Copilot integration was available.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Launching Copilot<\/h2>\n\n\n\n<p>With the upgrade complete and the service restarted, the original command worked as expected:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>slomm@wsl01:~$ ollama launch copilot --model kimi-k2.5:cloud<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">slomm@wsl01:~$<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ollama<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">launch<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">copilot<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">--model<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">kimi-k2.5:cloud<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>No error. Copilot up and running with <code>kimi-k2.5:cloud<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Summary<\/h2>\n\n\n\n<p>If you&#8217;re in the same situation, here&#8217;s the full process condensed:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check your current version: <code>ollama --version<\/code><\/li>\n\n\n\n<li>Run the upgrade: <code>curl -fsSL https:\/\/ollama.com\/install.sh | sh<\/code><\/li>\n\n\n\n<li>Restart the system service: <code>sudo systemctl restart ollama<\/code><\/li>\n\n\n\n<li>Verify the new version: <code>ollama --version<\/code><\/li>\n\n\n\n<li>Launch Copilot: <code>ollama launch copilot --model &lt;your-model><\/code><\/li>\n<\/ol>\n\n\n\n<p>The service restart in step 3 is the critical one. The installer does not automatically unload the old running daemon \u2014 you have to do that manually. Skip it and you&#8217;ll get version mismatch warnings that can be confusing to debug.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Note on Shell Environment<\/h2>\n\n\n\n<p>Depending on your setup, you may also need to reload your shell environment after the upgrade \u2014 particularly if Ollama&#8217;s path or any environment variables changed. You can do this by either opening a new terminal session or running:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>source ~\/.bashrc<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #82AAFF\">source<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">~\/.bashrc<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>or, if you use Zsh:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#EEFFFF;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>source ~\/.zshrc<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #82AAFF\">source<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">~\/.zshrc<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><em>Tested on Ubuntu Linux with an Nvidia GPU. The install script detects your hardware automatically \u2014 AMD and CPU-only setups are also supported., see <\/em><a href=\"https:\/\/techno.slomka.biz\/?post=1121\">https:\/\/techno.slomka.biz\/?post=1121<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ollama recently added a built-in Copilot integration \u2014 but only from a certain version onwards. If your installation is older, you&#8217;ll get a confusing error before you even get started. Here&#8217;s exactly what happened when I upgraded, including the one gotcha that tripped me up along the way. The Starting Point: An Unsupported Version I wanted to launch Ollama&#8217;s new Copilot feature with the kimi-k2.5:cloud model. The command looked straightforward: The error made it clear: my version of Ollama simply didn&#8217;t know what copilot was. A quick version check confirmed the problem: Version 0.17.7 \u2014 too old for Copilot. Time to upgrade. Running the Upgrade Ollama&#8217;s official upgrade method is a one-liner install script. The first attempt had a small typo \u2014 a stray period after sh \u2014 which Linux helpfully caught: Easy fix \u2014 remove the dot. The corrected command ran successfully: The installer handled everything: removed the old version, downloaded the new binary, configured user groups, set up the systemd service, and detected the Nvidia GPU. Clean and automatic. The Gotcha: The Service Needs a Restart Even though the installer said it was done, there&#8217;s an important step that&#8217;s easy to miss. The running Ollama service was still the old version in memory. Without an explicit restart, the client and service versions would be out of sync, causing warnings and unexpected behaviour. The fix is a single command: After that, the version check confirmed the upgrade had fully taken effect: From 0.17.7 to 0.21.0 \u2014 and now, with the service properly restarted, the Copilot integration was available. Launching Copilot With the upgrade complete and the service restarted, the original command worked as expected: No error. Copilot up and running with kimi-k2.5:cloud. Step-by-Step Summary If you&#8217;re in the same situation, here&#8217;s the full process condensed: The service restart in step 3 is the critical one. The installer does not automatically unload the old running daemon \u2014 you have to do that manually. Skip it and you&#8217;ll get version mismatch warnings that can be confusing to debug. A Note on Shell Environment Depending on your setup, you may also need to reload your shell environment after the upgrade \u2014 particularly if Ollama&#8217;s path or any environment variables changed. You can do this by either opening a new terminal session or running: or, if you use Zsh: Tested on Ubuntu Linux with an Nvidia GPU. The install script detects your hardware automatically \u2014 AMD and CPU-only setups are also supported., see https:\/\/techno.slomka.biz\/?post=1121<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,143,1,27,142],"tags":[147,152,149],"class_list":["post-1200","post","type-post","status-publish","format-standard","hentry","category-korn-shell","category-ollama","category-uncategorized","category-windows-bash","category-wsl","tag-ai","tag-ollama","tag-wsl"],"_links":{"self":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1200"}],"version-history":[{"count":3,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1200\/revisions"}],"predecessor-version":[{"id":1204,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1200\/revisions\/1204"}],"wp:attachment":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}