2026-07-03 21:50
Tags: AI, Programming, Learning Linux Commands

Main Commands


Seeing What Models You ahve
  • ollama list
Light Starting Model
  • ollama run llama3.2:3b “Hello, are you using my GPU?”
  • nvidia-smi to monitor gpu usage
Different Models and Running Them
  • ollama pull qwen2.5-coder:14b
  • ollama pull qwen3-coder:51b
  • ollama run qwen3-coder-next
  • ollama rm qwen3-coder-next //delete model
Checking If Ollama is Running
  • sudo systemctl stop ollama
  • sudo systemctl status ollama
Starting the Ollama Processes
  • sudo systemctl disable ollama
  • sudo systemctl start ollama
Connecting it so it can see and read files

127 natang@NatansCodingLaptop:~/CLionProjects/Oli-Nat$ python3 ~/Downloads/GitHubRepos/ollama-agent-coder/llama_code.py