Up And Running With Warp
If you can use a package manager, that will be better.
bash
brew install warpdotdev/tap/warp-cli If you need to download Warp from the Warp website, do so. But the first time around it affected how Warp "knew" to look for files about Warp itself. I had to reinstall through Homebrew
First things first, add Warp to your path.
bash
brew install warpdotdev/tap/warp-cli Warning about "Memories" and AI Terminal Assistant behavior:
text
warp ai add memory "Every single command that is revealed or recommended, and every piece of example code must be put in a copyable block with a copy and run button. NEVER run commands without the user's explicit action to run them. DO NOT attempt to execute commands directly - only show them in copyable blocks and let the user decide when to run them." Awesome themes
On Apple
bash
mkdir -p $HOME/.warp
cd $HOME/.warp/
git clone https://github.com/warpdotdev/themes.git Create your own themes
zsh
cd ~/.warp/themes Open the directory in a text editor that can navigate files.
It looked like any folder is just a way to keep them organized, all of them are imported into available themes.
I took the 
standard/catppuccin.yaml contents and started my own.
Notebooks are a breakthrough in productivity
Warp really wants you to set environment variables...
Information
[!USER] Why does the environment variables option keep popping up on commands? Why should I fill it out? What do environment variables do in Warp?
[!WARP] Environment variables in Warp are a powerful feature that allow you to manage and securely handle configuration values and secrets in your terminal sessions. Here's why they're important and how they work:
- What Environment Variables Do in Warp: • They work like .env files but with more powerful features • They can be loaded into your terminal session with a single click • They can be used in parameterized workflows • They can dynamically reference secrets from external managers
- Why You Should Use Them: • Security: They provide a secure way to handle sensitive information, especially with dynamic variables that integrate with secret managers like 1Password or LastPass • Convenience: You can quickly load sets of environment variables into your session without manually typing them • Consistency: They help ensure your environment is configured correctly across different contexts (like staging vs production) • Workflow Integration: They can be used as parameters in Warp workflows, making your commands more reusable across different environments
- Two Types of Environment Variables in Warp: • Static Variables: Similar to traditional .env files, good for non-sensitive configuration • Dynamic Variables: For sensitive information, these pull from external secret managers at runtime
- Ways to Use Environment Variables: • Load them into your current session • Load them into a subshell (isolated environment) • Use them with workflows as parameters
The environment variables option appears frequently because it's a fundamental way to securely handle configuration and secrets in your terminal sessions. Rather than hardcoding sensitive values into your commands or scripts, you can use environment variables to manage them more securely and flexibly.
Confused on Workflows:
What's the difference between Warp Notebooks and Warp Workflows?
Here are the key differences between Warp Workflows and Notebooks:
Workflows:
• Are reusable command templates
• Can be parameterized with variables
• Support environment variable configuration
• Are meant to be executed
• Live in your ~/.warp/workflows directory
• Are typically shorter, focused on a single command or task
• Can be shared across your team
Notebooks:
• Are like documentation/notes for your terminal
• Store command history and context
• Can include explanatory text and markdown
• Are meant for reference and learning
• Live in your ~/.warp/notebooks directory
• Can be longer, containing multiple related commands and explanations
• Are more personal, like a command journal
Think of Workflows as "command templates" you want to reuse, while Notebooks are more like "command documentation" you want to reference later.
For your ripgrep (rg) command case, a Workflow would be more appropriate because you want to reuse the command without the environment variable prompts. A Notebook entry would be better if you wanted to document different variations of the command with explanations of how they work.
For your ripgrep (rg) command case, a Workflow would be more appropriate because you want to reuse the command without the environment variable prompts. A Notebook entry would be better if you wanted to document different variations of the command with explanations of how they work.
Uninstalling Warp
bash
echo "=== Application Support ===" && \
ls -la ~/Library/Application\ Support/dev.warp.Warp* 2>/dev/null || echo "No Warp files found" && \
echo -e "\n=== Preferences ===" && \
ls -la ~/Library/Preferences/dev.warp.Warp* 2>/dev/null || echo "No Warp files found" && \
echo -e "\n=== Caches ===" && \
ls -la ~/Library/Caches/dev.warp.Warp* 2>/dev/null || echo "No Warp files found" && \
echo -e "\n=== Saved Application State ===" && \
ls -la ~/Library/Saved\ Application\ State/dev.warp.Warp* 2>/dev/null || echo "No Warp files found" ~/Library/Application Support/dev.warp.Warp