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

# Run Bash commands before Claude Code tasks

Jul 2025 / 10,086 views / [via X](https://x.com/iannuttall/status/1940718355989868890)

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)

## Ian's List

Join 15k\+ subscribers
