To perform a case-insensitive search with `grep`, you can use the `-i` option. For example, if you want to search for "example" without considering the case, you would use: `grep -i "example" filename`.