---
title: "Run Bash commands before Claude Code tasks"
description: "Run bash commands before Claude Code tasks"
canonical: "https://ian.is/claude-bash-commands"
language: "en"
---

[Ian Nuttall](https://ian.is/)

# Run Bash commands before Claude Code tasks

July 3, 2025

You can now run bash commands before processing the slash command task in Claude Code

Lots of ideas for this 👀

![Image from the original X post](https://ian.is/media/tweets/1940718355989868890/1940718355989868890/4d08f0d375c373f041d8023ce50483743ddea017a6c98c3675c198ed799f76d6.jpg)

## Newsletter

Join 9.2k subscribers
