AI Development Setup Guide
WSL
About
Windows Subsystem for Linux (WSL) allows you to run a Linux environment directly inside Windows without using a virtual machine.
- Run Linux commands inside Windows
- Better AI development performance
- Supports Ubuntu, Docker, Ollama, Codex
- Works perfectly with VS Code
Installation
wsl --install
wsl --status
wsl --update
wsl -l -v
Visual Studio Code
About
Visual Studio Code (VS Code) is a lightweight and powerful source-code editor developed by Microsoft.
- Supports multiple programming languages
- Excellent extension support
- Perfect integration with WSL
- Best for AI and web development
Installation
Download VS Code:
https://code.visualstudio.com/
Install Extension:
Remote - WSL
Ubuntu
About
- Stable Linux operating system
- Best for development
- Excellent AI tool support
Installation
wsl --install -d Ubuntu
Update Ubuntu
sudo apt update && sudo apt upgrade -y
Launch VS Code
code .
Ollama
About
- Run AI models locally
- Offline AI support
- No API cost
- Works inside WSL
Installation
curl -fsSL https://ollama.com/install.sh | sh
ollama --version
ollama serve
Local Models
About
Local AI models allow you to run artificial intelligence directly on your own computer without relying on cloud APIs.
- Offline AI support
- Better privacy
- No API cost
- Fast local response
Gemma 4
Good for general AI tasks and chat.
Qwen Coder
- Programming
- Debugging
- Automation
- Web Development
Versions
qwen2.5-coder:7b
qwen2.5-coder:14b
qwen2.5-coder:32b
qwen3-30b-a3b
| RAM | Recommended Model |
|---|---|
| 8GB | qwen2.5-coder:7b |
| 16GB | qwen2.5-coder:14b |
| 32GB+ | qwen2.5-coder:32b |
Install Qwen
ollama run qwen2.5-coder:7b
Install Gemma 4
ollama run gemma4:26b
Pro Tip
About
Bash aliases help you create shortcut commands for frequently used terminal operations.
- Save time
- Faster workflow
- Easy command execution
nano ~/.bashrc
Add these aliases:
alias cl='ollama run gemma4:26b'
alias cq='ollama run qwen2.5-coder:7b'
alias cc='codex'
source ~/.bashrc
Codex
About
OpenAI Codex is a terminal-based AI coding assistant.
Installation
sudo apt install nodejs npm -y
npm install -g @openai/codex
codex
GitHub Copilot
About
GitHub Copilot is an AI-powered coding assistant developed by GitHub and OpenAI.
- AI code suggestions
- Code auto-completion
- Chat-based coding help
- Works directly inside VS Code
Installation
GitHub Copilot
GitHub Copilot Chat
OpenCode
About
OpenCode is an open-source AI coding interface designed for fast terminal-based development workflows.
- Supports local AI models
- Works with Ollama
- Fast and lightweight
- Ideal for developers
Installation
npm install -g opencode-ai
opencode
Useful Commands
sudo apt update && sudo apt upgrade -y
free -h
df -h
nvidia-smi
wsl -l -v
Recommended Workflow
- Open Ubuntu (WSL)
- Go to project folder
- Run
code . - Open terminal
- Run
cq - Run
cc
