A CLI utility to help people secure a PlayStation 5 (PS5). Friday, Dec 11, 2020

GitHUB SOURCE : https://github.com/camtheperson/get-my-ps5/

Get My PS5

Reddit conversation

A simple command line interface (CLI) utility that checks for PlayStation 5 (disc or digital edition) every 5 seconds, then opens your browser as soon as it’s available.

How can I support this project?

Follow me on Twitter: @CamThePerson (feel free to hit me up if you have any trouble)

Donations greatly appreciated (this work takes time):


  1. Node


  1. Install Node if you haven’t already.

  2. From the root directory, enter the following command in Terminal (or whatever CLI you use):

npm install


Searching for your PlayStation 5

  1. Make sure you are logged into the PlayStation Direct store prior to using this tool. Also make sure you have a payment method, and shipping and billing addresses configured within your PSN account.

  2. From the root directory, enter the following command in Terminal (or whatever CLI you use):

npm run watch
  1. You will be prompted which version (disc or digital) you would like to search for.

  2. You will be prompted if you’d like a loud, annoying alarm sound to play (more details on testing this below).

  3. Let it run in the background. Your browser will open up and direct you to the PlayStation Direct store as soon as stock is available.

Other commands

Test opening your browser:

npm run open

Test the alarm:

npm run sound


Does this thing actually work?

As of Tuesday, December 8, 2020, I’ve received confirmation that this bot works:

Reddit conversation

With that being said, this is a simple bot. It checks for a redirect, and then opens your web browser.

  • You should make sure you’re already logged in with a PSN ID.
  • You’ll still need to complete reCAPTCHA on Sony’s website.
  • There’s still a solid chance you won’t get a PS5.

However, I believe this utility will give most people a leg up, because they don’t have to rely on a third-party service (such as NowInStock.net) to send you a notification that PS5s are in stock. You’re running it directly from your computer, which removes a lot of overhead and (hopefully) gives you an advantage.

Good luck!

How does this work?

This works by hitting Sony PlayStation Direct store every 5 seconds, and checking for a redirect that indicates a queue is forming. As soon as the queue starts forming, it will open your browser and you’ll be placed within the queue.

The previous version attempted to add the PlayStation 5 console directly to the cart. Unfortunately, the API endpoint it was using for this didn’t return a successful response even when PS5s were in stock, rendering it useless. So I changed it.

I’m not familiar with CLI and software. How do I install and get this running?

  1. Install Node.
  2. Download this utility by clicking the green “Code” button above, and then click “Download ZIP.”
  3. Unzip the contents.
  4. Next you’ll need to open a CLI instance at the get-my-ps5-master folder:
    • Windows users: open the folder, type cmd in the address bar, and hit enter. Still need help?
    • Mac users: right click the folder and select “New terminal at folder.”
  5. Once you have the CLI instance open at the get-my-ps5-master folder, enter each command, then press enter:
    • npm install
    • npm run watch
  6. Choose which console you prefer (disc or digital), and the search will begin.
  7. Let it do it’s thing. It will open your browser as soon as it detects a queue forming.

How do I stop this from running?

Enter Control + C in your Terminal window, or exit the Terminal altogether.

Unauthorized reproduction of this site is prohibited, and offenders will be held accountable for their legal responsibilities.
Article Title: A CLI utility to help people secure a PlayStation 5 (PS5).
This article URL:A CLI utility to help people secure a PlayStation 5 (PS5).

All Categories

Github Trending Repositories

Explore Github Trending Repositories. See what the GitHub community is most excited about today.

Copyright 2010 - 2020