RestroPRO SaaS DocsInstallationCaprover CLI

Step 4: Setting Up CapRover CLI

To manage your CapRover installation, you need to install Node.js on your local machine. Node.js allows you to access NPM (Node Package Manager), which is essential for installing the CapRover CLI. You can download Node.js from the official website.

Video Guide


Install CapRover CLI

After installing Node.js, open your terminal and run the following command to install the CapRover CLI:

npm install -g caprover

Configure Your Server

Once the CapRover CLI is installed, you’ll need to set up your server. Use the following command to start the setup process:

caprover serversetup

During this process, you’ll be prompted to enter your root domain. This root domain should match the domain or subdomain you configured to point to your server’s IP address.

For example, if you set up *.apps.yourdomain.com as a wildcard domain in your DNS settings, your root domain would be apps.yourdomain.com. This allows CapRover to manage subdomains like captain.apps.yourdomain.com for the admin dashboard and other apps.

This command will guide you through several steps to configure your server. Remember to choose a secure password during this process.

Logging into CapRover

Now that everything is configured, you can log in to your CapRover server. Make sure your domain points to your server’s IP address. To access the dashboard, go to:

https://captain.apps.yourdomain.com

Replace yourdomain.com with your actual domain name. Use the password you set during the CLI setup to log in.