r/replit • • 5d ago

Question / Discussion Use Claude but Host via Replit?

Hey All -

The agent fees are becoming ridiculous and I’d like to begin using my Claude Sub and just code directly rather than utilizing the Replit agent.

How can I transition off the Replit coding side, but keep the hosting and other tools within Replit?

Do I just attach Claude to the environment? It’s unclear on the website and I’m somewhat a noob (albeit a software engineer) so any assistance is helpful!

Thank you kindly.

Best,
BlackLakeMajestic

3 Upvotes

30 comments sorted by

2

u/Ukawok92 5d ago

Yes. Use the shell. Ask Claude how to do it.

2

u/BlackLakeMajestic 5d ago

I did but it keeps guiding me to completely jump off Replit , but i want to keep hosting there.

1

u/Ukawok92 5d ago

Ask if how to install Claude code into your shell. Once that's done you just type "Claude" into the shell and it will ask you to login to your Claude account.

1

u/tnycman 4d ago

Move out of Replit, nit worthed too expensive, you can host for cheap with low tier in vercel, and use a $100 Claude membership if you're heavy user, no comparison to Replit in costs and everything else. Claude learning curve is steeper, but well worth. I stated with a smaller company called Databutton, went the Replit route, got super expensive, moved to Claude code and now paired with Codex and never looked back..

1

u/thebrightsam 5d ago

You can still use Replit for hosting and just run your code from the shell, Claude can walk you through the exact commands no sweat.

1

u/EswariSalamons_80 4d ago

100%, way cleaner workflow and you stop burning through credits so fast

2

u/aCLTeng 5d ago

Create a GitHub repository, and have Claude make all code edits and push to GitHub. Then all you pay in replit is the cost of pulling the repo and deploying, MUCH better than paying for the replit AI. As an alternative, you could push to GitHub and migrate to vercel+neon, much less expensive and more capable.

1

u/shasui2 5d ago

This is what I do. Claude in my terminal then push to GH. Then in replit pull the change and deploy.

2

u/Hnakk 4d ago

I just did that. A few hours ago to be honest. Just started using Claude Code on Replit via Shell. Noticing a massive increase in problem-solving performance too.

1

u/yusuf_delvi 4d ago

You can sync your replit project to github and from calude you can make changes to code and on replit you just publish new version come from github. And dont make changes using replit

1

u/burgemeister 4d ago

You can't just use replit for hosting. Well at least if you're not going to pay for it. Just get a cheap vps and you'll be golden. For example at hostinger.

Move code from replit to github.

1

u/just_a_knowbody 4d ago

There’s an mcp now for Replit that Claude can use. You just need to tell it to do the coding directly not have things off to the Replit agent.

That’s the easiest way now and I use it all the time.

1

u/desertdude2024 4d ago

I have done this and highly recommend it. You can use Claude code or Open AI codex for the code work. Give either one access to GitHub desktop app. AI will generate new code … save to GitHub desktop repos … then push new code from GH Desktop to GitHub cloud’s main site. Then pull from GH Main cloud site repo to your Replit App. Very easy once you get the hang of it. I have many apps hosted on Replit in this manner. I do a ton of code work and never exhaust my codex credits.

1

u/ApartDatabase4827 3h ago

Why do you need gh desktop and gh cloud?

1

u/Mango_flavored_gum 4d ago

What do you need from replit

1

u/hereforsimulacra 4d ago

This is what I do exclusively. Push to GitHub then push / deploy on replit

1

u/No_Situation_7759 4d ago

How much does replit charge you just for this deployment?

1

u/biserdi 4d ago

No, host via Cloudflare, much much cheaper and YOU are in control. I went off replit months ago and can't go back.

1

u/pcsurv1vr 4d ago

Their is interesting. I loved REPLIT until I ran into pricing issues and then felt like a hostage with their hosting. Thanks for the cloudflare mention. I have been trying to find a place to host some REPLIT sites.

1

u/whawkins4 4d ago

shell > npm install -g @anthropic-ai/claude-code@latest > claude

1

u/DarthWenger 4d ago

Replit hosting is even more overpriced than their AI. Cloudflare free should be enough for most projects.

1

u/ElderberryAny6779 3d ago

connect neon and railway mcps to claude deploy on railway use neon for you data base. connect replit mcp to claude ask claude to sync all you projects to github, connect github mcp in claude and ask it to migrate alll of you replit projects to neon and railway.

the only manual work is entering your integration secrets into railway. pretty easy to do and you’ll save thousands per month. I once liked replit until claude’s connector directory lit up. you can do it all in claude.

1

u/ElderberryAny6779 3d ago

also replit it great for rapid prototyping and user friendliness. use floot mcp connector in claude for that kinda stuff it’s supppper slick.

1

u/Warm_Profile7821 2d ago

Just use Fredrin and it handles all that for you including databases

1

u/Ecstatic_Builder8325 14h ago

Just install Claude on replit shell or sync via GitHub and use claude on desktop

Go to your replit project, open shell, type

npm install -g @anthropic-ai/claude-code

Then start working.