
Install Gemini CLI here. → https://goo.gle/3MdHs0r
Complete the free course here. → https://goo.gle/LearnGeminiCLI
Access the repo with all course materials here. → https://goo.gle/4t6FteY
Context is the secret to making Gemini CLI truly powerful. Just like teaching a new assistant your preferences, providing the right context helps the agent understand your projects, remember key details, and work more efficiently.
In this lesson, you’ll learn how to manage Gemini CLI’s context and memory using gemini.md files and built in commands. We’ll show you how to set global preferences and automatically generate project specific context so you can get better results, faster. This video is part of a series—you can enjoy the first 3 lessons here on YouTube and continue the free course on DeepLearning.AI.
⏰ Timestamps
0:00 Introduction to context
0:37 What is context?
1:01 Where context lives (gemini.md)
1:33 Subdirectory context
1:57 Managing memory commands
2:05 Adding global memory
2:53 Project specific context
3:14 Using the /init command
3:56 Reviewing the generated file
4:22 Conclusion & next steps
Watch more Gemini CLI Course: Code & create with an open source agent → https://goo.gle/GeminiCLI
🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
#GeminiCLI #OpenSource #AIAgent
Speaker: Jack Wotherspoon
Products Mentioned: Gemini CLI











