⚙️Using the script

🔐 Starting the Install Script

Run this in your terminal:

bash <(curl -s https://raw.githubusercontent.com/lapsusdevs/script/main/manager.sh)

✨ Now relax and let the script do its thing ✨

Lapsus Client will run once the installation script finishes.

On some systems, it's required to be already logged in as root before executing the one-line command (where sudo is in front of the command does not work).

This can be achieved (if you're currently a normal user) by typing su, then entering root's password.

Important:

Check that you have a compatible NodeJS version. If not, the script will try to install one for you.

⚙️ Editing essential settings

Now open settings.json and edit the file as you need, we recommend changing the following (options are explained more in the settings.json reference):

The name and logo
"name": "Lapsus Client",
  "logo": {
    "url": "/assets/img/logo_background.png"
  },
The port and secret
"website": {
    "port": 8000,
    "secret": "changeme"
  },
Pterodactyl settings
"pterodactyl": {
    "domain": "https://panel.yourdomain.com",
    "key": "ptla_",
    "account_key": "ptlc_"
  },
Discord OAuth2 settings
"oauth2": {
    "_comment": "Go to https://discord.dev/ and create an application to set these up.",
    "id": "",
    "secret": "",
    "link": "http://localhost:8080",
    [...]

💉 Starting the Client

Now run node . , if you set everything correctly, Lapsus Client will show something like this:

Now login using the URL you setup and you will be ready to login for the first time!

🕛 Running Lapsus Client even if you close SSH

Follow these commands to make Lapsus Client work 24/7 using PM2:

npm install pm2@latest -g

Check your on the LapsusClient folder

cd LapsusClient
pm2 start index.js

After this, Lapsus Cient will be running 24/7 on your VPS even if you close the SSH Client (ex. PuTTY)

✔️ All done!

To see your next steps, continue on to the following pages:

Last updated