WSL

  • Korn Shell / Bash,  ollama,  Windows Bash,  WSL

    Upgrading Ollama for Copilot Support: The Step you probably Miss

    Ollama recently added a built-in Copilot integration — but only from a certain version onwards. If your installation is older, you’ll get a confusing error before you even get started. Here’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’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’t know what copilot was. A quick version check confirmed the problem: Version 0.17.7 — too old for Copilot. Time to upgrade. Running the Upgrade Ollama’s official upgrade method is…

  • AI Automation,  n8n,  Nvidia CUDA,  ollama,  WSL

    Running Ollama with NVIDIA GPU inside WSL (Ubuntu) – Step-by-Step Guide

    Running large language models locally with GPU acceleration inside WSL2 is not only possible—it’s surprisingly efficient once properly configured. This guide walks through a working setup using Ubuntu, NVIDIA GPU passthrough, and Ollama. 🧩 Target Setup 1. Prepare Windows Host Check Windows Version Ensure you’re on a supported version: Recommended: Enable WSL2 Install NVIDIA Driver (with WSL Support) on your Windows machine Install a current NVIDIA driver that supports WSL CUDA. Verify: If this fails, stop here—GPU passthrough will not work. 2. Prepare Ubuntu (WSL) Start WSL: Update packages: 3. Verify GPU inside WSL Expected: 4. (Optional) Install CUDA Toolkit Verify: 5. Install Ollama ⚠️ Required Dependency for Ollama Before…

  • PowerShell,  Windows Bash,  WSL

    💡PowerShell Tip for Large Files – The Get-Content -Tail and -Wait parameters

    In PowerShell, you can display the last *n* lines of large text or ASCII files using the `-Tail` parameter of the `Get-Content` cmdlet: In Powershell, you can display the last *n* lines of large tyt or ASCII files using the -Tail parameter of the Get-Content cmdlet: Since PowerShell version 3, Get-Content (or its alias gc) includes the -Tail parameter. Unfortunately, there is no built-in equivalent to the Unix tail -f command for continuous updates. PowerShell: Get-Content with -Wait PowerShell’s Get-Content cmdlet supports the -Wait parameter, which continuously monitors a file for new content: This will display new lines as they are appended to the file. PowerShell with filtering (advanced usage)…