For the past three weeks, I’ve been asking users on X (Twitter) if anyone was successfully running Claude Code on a VPS. The responses were sparse, with only one or two people providing limited feedback. Then yesterday, everything changed.

I stumbled upon a post from Pieter Levels (@levelsio), the internet guru of building in public. @levelsio was talking about installing Claude Code on a server, accessing it remotely, and running it infinitely from any device. That’s when the lightbulb went off.

Inspired by his approach, I immediately bought the domain VibeServer.pro with a vision: to help developers deploy their own VibeCoding servers easily. We’re planning to create an app on our CloudPloy platform to streamline this process, but the beauty is that users can install their VibeCoding server anywhere they want.

🤔 What is VibeCoding?

VibeCoding represents a paradigm shift in how we write software. Instead of typing out every line of code, you have natural conversations with Claude AI, describing what you want to achieve. Claude then acts as your eager junior developer, writing the actual implementation while you focus on architecture and business logic.

This approach dramatically accelerates development speed while maintaining code quality. You describe the “vibe” of what you want, and Claude translates that into working code.

The results? Developers report 5x productivity gains, fewer bugs, and more time spent on creative problem-solving rather than boilerplate coding. It’s like having a senior developer who never gets tired and always understands your intent.

🤖 Enter Claude Code: Your AI Development Partner

Claude Code is Anthropic’s command-line tool that brings Claude AI directly into your development workflow. It’s not just another code completion tool – it’s a full-fledged development partner that can:

  • Understand entire codebases: Claude reads and comprehends your project structure, dependencies, and conventions
  • Make coordinated changes: Edit multiple files simultaneously while maintaining consistency
  • Write and run tests: Create comprehensive test suites and implement code to pass them
  • Handle DevOps tasks: Configure servers, manage deployments, and automate infrastructure

💪 Why Run Claude Code on a VPS?

While Claude Code works brilliantly on your local machine, deploying it on a Virtual Private Server (VPS) – your VibeServer – unlocks game-changing capabilities:

1. Always-On Development Environment

Your VibeServer never sleeps. Queue up tasks before bed and wake up to completed features. Run long refactoring jobs without tying up your laptop. Your AI assistant is always ready to code, 24/7.

2. Team Collaboration at Scale

Share a single Claude Code instance across your team. Standardize your VibeCoding workflows, share context through CLAUDE.md files, and ensure everyone benefits from the same AI-powered productivity boost.

3. Resource Optimization

VPS environments provide dedicated resources for Claude operations. No more laptop fan noise during intensive coding sessions. Scale up resources instantly when tackling large codebases or complex tasks.

4. Remote Development Freedom

Access your VibeServer from literally ANY device with Terminus:

  • Mobile phones - Code while commuting or waiting in line
  • Tablets - Full development power in a portable form factor
  • Any computer - No setup needed, just SSH in
  • Smart TVs - Yes, even your TV can become a development machine!

With Mosh maintaining your connection through network changes and Terminus providing mobile-optimized access, you have a true “code from anywhere” setup. No dropped connections, no barriers between you and your development environment.

🛠️ Setting Up Your VibeServer

You can run Claude Code in two ways: directly on your VPS (Normal Mode) or inside Docker for better isolation. Choose the method that works best for you.

📋 Step 1: Choose Your VPS Provider

Select a provider that offers:

  • 🔐 SSH access - Essential for remote connection and management
  • 💾 Adequate RAM - 8GB+ recommended for larger projects
  • ⚡ SSD storage - Fast file operations for better performance
  • 🐳 Docker support - If you plan to use Docker mode for isolation

Popular choices include:

  • Amazon Lightsail - Simple VPS with predictable pricing starting at $3.50/month
  • AWS EC2 - More advanced but powerful option
  • Vultr VPS - High-performance cloud compute instances
  • Google Compute Engine - Excellent for scaling

🚀 Normal Mode Setup

Step 1: Initial Server Setup

# Update system packages
sudo apt update && sudo apt upgrade -y

# Install Node.js (required for npm)
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt install -y nodejs

# Install tmux for persistent sessions
sudo apt install -y tmux

Step 2: Install Claude Code

# Install Claude Code globally
npm install -g @anthropic/claude-code

# Verify installation
claude --version

Step 3: Run Claude Code in tmux

# Create or attach to tmux session named 'vibeserver'
tmux attach -As vibeserver

# Run Claude Code
claude

# Detach from tmux (Ctrl+b, then d) to keep it running
# Reattach anytime with: tmux attach -As vibeserver

🐳 Docker Mode Setup

For better isolation and easier management, you can run Claude Code inside Docker:

Step 1: Install Docker

# Install Docker
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER

# Log out and back in for group changes to take effect
exit
# Then SSH back in

Step 2: Create Docker Container

# Create a Dockerfile
cat > Dockerfile << EOF
FROM node:lts-alpine
WORKDIR /workspace
RUN npm install -g @anthropic/claude-code
# Install additional development tools
RUN apk add --no-cache git python3 make g++ bash
VOLUME ["/workspace"]
CMD ["claude"]
EOF

# Build the Docker image
docker build -t vibeserver .

# Run Claude Code in Docker
docker run -it --name claude-session \
  -v $(pwd):/workspace \
  -p 3000:3000 \
  vibeserver

Benefits of Docker mode:

  • Isolated environment - No conflicts with system packages
  • Easy cleanup - Just remove the container
  • Consistent setup - Same environment every time
  • Multiple projects - Run different containers for different projects

🔐 Configure Claude Code (Both Modes)

Whether you’re using Normal or Docker mode, the configuration is the same:

# For Normal Mode:
claude

# For Docker Mode (if not already in the container):
docker exec -it claude-session claude

Once in the Claude session, run the login command:

/login

This will open a browser window for authentication and connect Claude Code to your Anthropic account.

📁 Set Up Your Project

# Clone your project
git clone https://github.com/yourusername/your-project.git
cd your-project

# Start Claude Code
claude

Once in your Claude session, you can run the /init command to generate a CLAUDE.md file for your project:

/init

This command analyzes your project structure and creates a CLAUDE.md file that serves as context for Claude about your project’s conventions, dependencies, and architecture. You can also manually create or edit this file to provide specific instructions and context for your project.

📱 Access Your VibeServer from Anywhere

Using Mosh with tmux for Mobile Access

The perfect mobile setup combines Mosh (for resilient connections) with tmux (for persistent sessions). Here’s how to set it up:

Prerequisites

# Install on your VPS
sudo apt install mosh tmux

# Ensure UTF-8 encoding
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

# Open UDP ports 60000-61000 for Mosh (if using firewall)
sudo ufw allow 60000:61000/udp

Basic Workflow

  1. Connect to your server with Mosh:

    mosh your-username@your-server
  2. Start or attach to your tmux session:

    # This command will attach if session exists, or create if it doesn't
    tmux attach -As vibeserver
  3. Run Claude Code:

    claude
    /login  # First time only
    /init   # To initialize your project
  4. Detach when done (Ctrl+b, then d) Your Claude session keeps running!

Advanced: Direct Connection

Connect and attach to tmux in one command:

mosh your-username@your-server -- tmux attach -As vibeserver

Mobile Access with Terminus

For the ultimate mobile experience:

  1. Install Terminus on your mobile device (iOS/Android)

  2. Add your VPS with these settings:

    • Protocol: Mosh
    • Host: your-server-ip
    • Username: your-username
    • Authentication: SSH key (recommended)
  3. Create a snippet in Terminus for quick access:

    tmux attach -As vibeserver

Why This Setup is Perfect for Mobile

  • Network Resilience: Mosh handles connection drops, network switches (WiFi↔️Cellular), and IP changes
  • Low Latency: Local echo makes typing responsive even on slow connections
  • Session Persistence: tmux keeps Claude running even when you’re disconnected
  • Mobile Optimized: Works great on small screens with touch keyboards

Real-World Scenarios

This setup shines when:

  • Commuting: Code on the subway, through tunnels, with spotty signal
  • Traveling: Switch between hotel WiFi, mobile hotspots, and airport networks
  • Coffee Shops: Handle flaky public WiFi without losing work
  • Anywhere: Your phone becomes a full development machine

Quick Tips

  • Use tmux ls to list all sessions
  • Create multiple sessions for different projects
  • Set up tmux shortcuts for faster navigation
  • Enable Mosh prediction for even better responsiveness

With Mosh + tmux + Terminus, you have a true “code from anywhere” setup that’s resilient, responsive, and ready whenever inspiration strikes!

⚡ Performance Optimization

1. Context Management

Claude Code automatically manages context for optimal performance. The CLAUDE.md file in your project root serves as persistent context that Claude references for every task.

2. Resource Monitoring

# Monitor Claude Code resource usage
htop
docker stats

3. Caching Strategies

Implement caching for frequently accessed data to reduce API calls and improve response times.

💡 Real-World Use Cases

Startup Scenario: Rapid MVP Development

A startup used VibeServer to build their MVP in 2 weeks instead of 2 months:

  • Described features in natural language
  • Claude Code implemented full-stack application
  • Automated testing ensured quality
  • Deployed directly from VibeServer

Enterprise Scenario: Legacy Code Modernization

An enterprise team modernized a 10-year-old codebase:

  • Claude Code analyzed millions of lines of code
  • Suggested and implemented refactoring strategies
  • Maintained backward compatibility
  • Reduced technical debt by 60%

Agency Scenario: Multi-Project Management

A development agency manages 50+ client projects:

  • Separate VibeServer instances for each client
  • Standardized VibeCoding workflows
  • Automated maintenance tasks
  • 5x increase in project delivery speed

🌟 The Future of VibeCoding

As Claude Code evolves, we’re seeing emerging patterns:

1. Email-Driven Development

Claude Code Remote allows controlling your VibeServer via email, enabling asynchronous development workflows.

2. Multi-Agent Collaboration

Multiple Claude instances working together on different aspects of a project, coordinated through a central VibeServer.

3. Self-Improving Codebases

Projects that use Claude Code to continuously refactor and optimize themselves based on usage patterns.

🚀 Introducing VibeServer.pro

We’re building VibeServer.pro to eliminate all the technical complexity of setting up a VibeCoding server. Our vision is simple: anyone should be able to launch their own VibeServer without touching a single command line.

With VibeServer.pro on our CloudPloy platform, you’ll get:

  • Zero technical knowledge required - Just click and deploy
  • Instant VibeServer setup - No manual configuration needed
  • Pre-configured with everything - Claude Code, Mosh, and all tools ready to go
  • Managed infrastructure - We handle all the server stuff, you just code
  • One-click access - Connect from any device instantly

Think of it as “VibeCoding as a Service” - all the power of having your own AI development environment, none of the setup hassle.

While we’re building this magical experience, you can follow this guide to set up your own VibeServer today. But soon, it’ll be as easy as clicking “Launch My VibeServer” on VibeServer.pro!

🌈 Getting Started with CloudPloy

While setting up your own VibeServer is powerful, managing infrastructure shouldn’t slow down your VibeCoding flow. That’s where CloudPloy comes in.

CloudPloy provides the perfect platform for hosting your VibeCoding projects:

  • One-click deployment: Push your Claude-generated code live instantly
  • Managed infrastructure: Focus on VibeCoding, not server management
  • Built-in CI/CD: Automated testing and deployment pipelines
  • Docker-powered security: Isolated environments for each project

Whether you’re VibeCoding a WordPress site, Laravel application, or custom PHP project, CloudPloy handles the deployment complexities so you can maintain your development flow.

🎉 Conclusion: Embrace the Vibe

VibeCoding with Claude Code on a VPS isn’t just about writing code faster – it’s about fundamentally changing how we approach software development. By describing what we want to build rather than how to build it, we free ourselves to think at a higher level, solve bigger problems, and create better software.

Your VibeServer is more than infrastructure; it’s your always-on development partner, ready to transform your ideas into reality. Whether you’re a solo developer looking to 10x your productivity or a team seeking to standardize on AI-assisted development, running Claude Code on a VPS is your gateway to the future of coding.

Ready to start VibeCoding? Set up your VibeServer today and experience the joy of development where the only limit is your imagination. And when you’re ready to deploy those Claude-crafted applications, CloudPloy is here to get them live in minutes, not hours.

Welcome to the age of VibeCoding. Welcome to your VibeServer. Welcome to development that finally speaks your language.


Want to deploy your VibeCoded applications effortlessly? Join the CloudPloy waitlist and be among the first to experience seamless deployment for your AI-generated projects.