📌 Local LLM on My PC: Ollama Practical Series
Following the foundational concepts discussed in Part 1 regarding why air-gapped environments benefit from local LLMs and why 2B–3B parameter models are best suited for standard business laptops, this guide walks through the hands-on deployment process.
We will cover installing Ollama via the Windows installer, verifying the background tray service, pulling and launching a lightweight model from the terminal, configuring model storage paths to save C-drive capacity, and transferring models offline to isolated data center sites.
1. Practical Installation Workflow
The end-to-end setup workflow is outlined below:
flowchart TD
Step1["Step 1: Download Installer<br/>(OllamaSetup.exe)"] --> Step2["Step 2: Run Windows Installer<br/>(One-click deployment)"]
Step2 --> Step3["Step 3: Verify Background Service<br/>(System tray icon & port 11434)"]
Step3 --> Step4["Step 4: Launch Terminal (CLI)<br/>(Check ollama commands & model selection)"]
Step4 --> Step5["Step 5: Pull Model<br/>(Layer download & digest verification)"]
Step5 --> Step6["Step 6: Real-time Terminal Chat<br/>(Prompt response verification)"]
2. Step 1: Download Ollama Windows 11 installation file
- Open your web browser and go to the Ollama official download page:
- 🌐 Official Download Link: https://ollama.com/download/windows
- Click the
Download for Windowsbutton in the center of the screen.

- Once the download is complete, a
OllamaSetup.exeinstallation file will be created in the download folder.

3. Step 2: Run the installer and complete the installation.
- Double-click the downloaded
OllamaSetup.exefile to run it. - When the Installation Wizard window appears, click the
Installbutton.

- File decompression and service registration will proceed automatically (takes approximately 10 to 20 seconds).

- Once installation is complete, the Ollama icon appears in the Windows 11 system tray (notification area), indicating that the background service is running.

💡 Default installation paths:
- Application binary:
C:\Users\<user account>\AppData\Local\Programs\Ollama- Downloaded models:
C:\Users\<user account>\.ollama\models- Ollama automatically starts as a background service on system boot, listening on default local port
11434(http://localhost:11434).
4. Step 3: Service Initialization and Account Setup
Ollama runs in the background automatically upon installation or system startup.

If desired, you can sign in with your Ollama account (optional; downloading models and executing local inference works completely without authentication).

5. Step 4: Verify Installation and Explore Models in CLI
Right-click the Windows Start button and open Terminal orPowerShell.
Type ollama and press Enter to display the supported command-line options (serve, create, show, run, stop, pull, push, list, ps, rm).

Select a lightweight model suited for your hardware. For standard business laptops with 16 GB of system RAM, compact 2B–3B parameter models such as gemma2:2b or llama3.2:3b provide optimal performance with minimal memory overhead (~2 GB).

6. Step 5: Pull and Launch the Model (ollama run)
Execute the following command in PowerShell to pull and initialize the model:
# Run recommended lightweight model for laptops
ollama run gemma2:2b
Ollama automatically retrieves the model layers from the official registry:
Manifest retrieval and layer download:

Real-time progress and transfer speed: The transfer status for each layer is displayed via progress bars.

Digest verification and completion: Once downloaded, sha256 digests are verified, concluding with a
successmessage.
7. Step 6: Interactive Terminal Prompt
Once initialization completes, the terminal switches to an interactive >>> prompt. Enter a prompt to test model inference:

🛠️ Practical Engineering Prompt Test
>>> Write a find command in Linux that finds files larger than 100MB and sorts them in descending order by size.
Even on standard laptops relying solely on integrated Intel/AMD CPU graphics, responses stream smoothly at around 25 tokens per second.
🚪 Exiting the Session
To exit the interactive session and return to PowerShell:
- Type
/byeand press Enter - Or press
Ctrl + D(Ctrl + Cor/byein PowerShell)
8. Practical Tips (Windows 11 Environment)
💡 Tip 1: Moving Model Storage to Another Drive
As you pull multiple models, system drive space may diminish. You can relocate the storage path to another partition (such as D:\) using environment variables:
- Press
Win + R, entersysdm.cpl, and hit Enter. - Navigate to Advanced ➔ clickEnvironment Variables.
- Under System or User variables, click New:
- Variable name:
OLLAMA_MODELS - Variable value:
D:\ollama\models(or your target path)
- Variable name:
- Right-click the Ollama tray icon, select Quit Ollama, and relaunch. Subsequent models will download to the new path.
💡 Tip 2: Deploying Models to Air-Gapped Data Centers
When heading to an isolated site without external internet access:
- Pull all necessary models on an internet-connected PC beforehand (
ollama run gemma2:2b, etc.). - Copy the entire
C:\Users\<account>\.ollama\modelsdirectory to an external drive. - On the air-gapped target machine, install Ollama and place the copied
modelsdirectory into the user profile folder. Local inference will operate immediately without network access.
9. Summary
Installing Ollama on Windows 11 provides a self-contained local AI environment that delivers fast technical assistance without sending a single byte over external networks.
If C-drive storage is limited, configuring the OLLAMA_MODELS environment variable enables flexible storage management across secondary drives. In addition, pre-downloaded model weights can be packaged and transferred to offline air-gapped data centers with minimal effort.
In Part 3: Ollama Practical Applications: Terminal Chat, WebUI, and REST API, we will explore connecting a browser-based WebUI and calling the local inference engine via Python REST APIs.
🔗 Series Navigation
| Previous Step | Next Step |
|---|---|
| ⬅️ Part 1. Ollama Concepts and Architecture Overview | Part 3. Ollama Practical Applications: WebUI & API Integration ➡️ |