Revesery
Dashboard
Home
Explore
Groups
Add bookmarks
Revesery
HomeExploreTrendingGroupsContributors
⌘K

Most read

ShareLogin
Back to feed
AR
Alex RuiezExpert
@alex · Aug 29, 2026 · 73 views
#Tools

How to Reinstall a VPS OS with One Command

Tired of your current VPS OS? You can wipe it and install a fresh one with a single script.

It supports Ubuntu 20.04 through 24.04, Debian 11 and 12, Kali, and Windows Server 2016 through 2025. Heads up: the reinstall erases every file on the server, so back up anything you need before you run it.

How to Reinstall a VPS OS with One Command

Tutorial

  1. Run the reinstall command for the Ubuntu version you want. The script downloads itself, makes itself executable, and starts the install.

```bash

# Ubuntu 20.04

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh ubuntu 20.04

# Ubuntu 22.04

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh ubuntu 22.04

# Ubuntu 24.04

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh ubuntu 24.04

```

  1. Run the matching reinstall command for Debian 11 or 12.

```bash

# Debian 11

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh debian 11

# Debian 12

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh debian 12

```

  1. Run this reinstall command for Kali Linux.

```bash

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh kali

```

  1. Run the reinstall command for Windows Server 2025, 2022, or 2016.

```bash

# Windows Server 2025

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh windows \

--image-name "Windows Server 2025 SERVERDATACENTER" \

--rdp-port "22"

# Windows Server 2022

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh windows \

--image-name "Windows Server 2022 SERVERDATACENTER" \

--rdp-port "22"

# Windows Server 2016

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh -O reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh windows \

--image-name "Windows Server 2016 SERVERDATACENTER" \

--rdp-port "22"

```

  1. Open the README for all other OS options. It lists every reinstall option.

Wrapping Up

You now have a one-command way to reinstall any of these operating systems on your VPS. Just make sure to back up your data first, because the script wipes the entire disk. Pick the command for the OS you want, run it, and let the script do the rest.

Liked Alex Ruiez's share? Revesery is where people swap what they're actually building.

Join with Google
Be the first to sayBe first

Does this still work?

Nobody's checked yet

Sign in to tell everyone how it went.

Continue with Google

Be the first — one tap saves the next person an hour.

It takes 3 reports in 30 days to set the status.

Comments

Join the conversation — sign in to comment.

Sign In Now

No comments yet — start the conversation!

More shares you might like

NewsWhy Your Free AI Credits and Free VPS Are Only RentedAlex Ruiez · 7h · 15 viewsToolsHow to Use Free AI Coding Models in ClineAlex Ruiez · 18h · 23 viewsToolsHow to Start Amazon Affiliate Marketing From ZeroAlex Ruiez · 19h · 16 viewsToolsHow to Sanction-Proof Your Cloud and Chip DependenciesAlex Ruiez · 19h · 17 viewsToolsHow to Get 424 Cinematic Techniques for AI VideoAlex Ruiez · 19h · 22 viewsToolsHow to Get FluentVoice Pro Free for Windows 11/10Alex Ruiez · 1d · 20 views

Site footer

Revesery

Empowering people to share valuable insights, discover hidden information, and connect with an amazing community of learners and experts.

  • 448Members
  • 580Shares published

Explore

  • Explore shares
  • Trending now
  • Top contributors

Company

  • About us
  • Editorial policy
  • Contact
  • Advertise with us
  • System status
© 2026 Revesery
  • Privacy
  • Terms
  • Trust & Safety
  • DMCA
HomeExploreShareProfile
LiveIIIdea Interiorjoined Revesery· 2 hours ago