How to Use Ollama (Free Local AI)
From Kevin Stratvert Β· Β· 6 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
Learn how to install and use Ollama on Windows to run AI models locally for free. In this beginner tutorial, we'll set up Ollama without an account, choose a local model, chat with AI, ask follow-up questions, and analyze a PDF on your computer. Then we'll connect Ollama to OpenCode and build a website with AI that creates files directly on your PC. Once you've downloaded a local model, you can use it offline. Cloud models are optional and work differently; this tutorial focuses on local AI.
Host: Kevin Stratvert
π RESOURCES - Ollama: https://ollama.com/ - Download Ollama for Windows: https://ollama.com/download/windows - OpenCode: https://opencode.ai/ - Download OpenCode: https://opencode.ai/download
β TIMESTAMPS 0:00 - Introduction 0:28 - Download and install Ollama on Windows 1:49 - Choose a local AI model 2:41 - Run your first prompt and ask follow-up questions 3:24 - Chat history and new conversations 3:44 - Analyze a PDF locally 4:33 - Install OpenCode and connect Ollama 5:21 - Select your local model in OpenCode 5:43 - Build a website with local AI 6:27 - Wrap up
πΊ RELATED VIDEOS - Playlist with all my videos on Artificial Intelligence: https://www.youtube.com/playlist?list=PLlKpQrBME6xIARXD7aDFbQGAOHibBTqpe
π© NEWSLETTER - Get the latest high-quality tutorial and tips and tricks videos emailed to your inbox each week: https://newsletter.kevinstratvert.com
π½ CONNECT WITH ME - Official website: http://www.kevinstratvert.com - LinkedIn: https://www.linkedin.com/in/kevinstratvert/ - Discord: https://bit.ly/KevinStratvertDiscord - Twitter: https://twitter.com/kevstrat - Facebook: https://www.facebook.com/Kevin-Stratvert-101912218227818 - TikTok: https://www.tiktok.com/@kevinstratvert - Instagram: https://www.instagram.com/kevinstratvert/
π PARTNERS & DISCOUNTED OFFERS π» Hostinger | https://hostinger.kevinstratvert.com π Notion | https://notion.kevinstratvert.com π΅ Quickbooks Online | https://qbo.kevinstratvert.com ποΈ Voicemod AI Voice Changer | https://voicemod.kevinstratvert.com π΅οΈ VidIQ | http://vidiq.kevinstratvert.com
π MY COURSES - Go from Excel novice to data analysis ninja in just 2 hours: https://kevinstratvert.thinkific.com/
π TRAINING - Take your skills, or your teamβs, to the next level by partnering with us for expert training: https://kevinstratvert.com/training
π REQUEST VIDEOS https://forms.gle/BDrTNUoxheEoMLGt5
π SUBSCRIBE ON YOUTUBE https://www.youtube.com/user/kevlers?sub_confirmation=1
π SUPPORT THE CHANNEL - Hit the THANKS button in any video! - Amazon affiliate link: https://amzn.to/3kCP2yz
β DISCLOSURE Some links are affiliate links. Purchasing through these links gives me a small commission to support videos on this channel. The price to you is the same.
#stratvert #ollama #opencode