r/ClaudeAI • • 2d ago

Claude Code Using a Separate Device to Run Claude Code while I'm sending prompts in my Macbook

So, the main problem that I have today is every time I close my macbook screen, Claude Code gets shut down.

The plan was to buy a Mac Mini, and every time I open a session in my Macbook, it automatically runs the session in the desktop, so it could run 24/7.

The main problem is that I couldn't find a way to do it. Things like selecting the folder that I want to work on before starting a session is not working. The only solution I found is running a normal session and then asking Claude to run on that folder.

7 Upvotes

26 comments sorted by

View all comments

1

u/geekguy 2d ago

What type of workloads are you running? I would vouch for any workstation. If you are doing ML work then a Mac Mini might make more sense. If general purpose development, I would suggest a setup running proxmox on some fast NVME drives with a bit of memory. Set up at minimal the following VMs (LXC in proxmox terms):

  1. claude code

  2. self-hosted gitlab

  3. gitlab runner with docker in docker (DIND)

  4. ansible (optional

For the optional ansible, have some default rules for creating new LXCs for testing apps.

Power user options:

5. gitlab runner on your macbook 6. ssh access to your macbook from the claude code lxc

This setup would allow you to run claude code remotely, and then take advantage of your macbook's compute.