Mail: [email protected] Phone: +1(628) 800-7750

Installing NexoPOS 4.x On Hostinger

Hostinger is a popular hosting provider that is compatible with most web applications. In fact, with $2.99 you can start right away to host your application including NexoPOS 4.x.

You'll learn here how to install NexoPOS 4.x. We'll mostly cover the basics of the creation that includes:

  • Creating a domain (or subdomain).
  • Downloading the project
  • Creating a database
  • Making the installation

Creating a domain

The particularity of NexoPOS (and Laravel) is that the server shouldn't seek the "index.php" file at the root of the project but inside the "public" directory. While creating our domain (or subdomain), we need to instruct where the server to use the "public" folder as the document root.

Let's take a concrete example on Hostinger. We'll assume you create a subdomain named "pos" and you have your document created as follows:

In our example, the file (NexoPOS) will be dropped on "public_html/pos", but the folder "public" already included in the source code of NexoPOS will be used to fetch the "index.php" file.

You should then have an output like this:

Downloading The Project

There are two ways of doing it. You can either do it from the file manager or you can do it from the CLI (command-line interface). The CLI remains a better solution as either way, you'll need it to install composer dependencies.

You'll then go back to the dashboard then scroll down to "Advanced" where you'll click on "SSH Access".

This should take you to a page where you can copy the SSH access for your server. It should look like this:

You can either use Putty, PenguiNet or even VsCode to access the server. In my case, I'm Putty. If you don't know yet how to connect to Putty, I'll invite you to read this.

Assuming you're connected to the terminal, you'll change the directory to :

cd /home/uXXXXX/domains/ 

All the "bold" values must be replaced by your actual hosting value:

  • uXXXXXX replaced by the user name on the server
  • replaced by your actual domain.

From now, we'll head to Github releases to download the recent version of NexoPOS.

You'll either choose the compiled files (first file) or the source code in "zip". You then need to only copy the link and come to the terminal (Putty) where you'll do:


You'll then have a file named "NexoPOS-4x-4.7.9" on your directory "pos". You now only have to unzip it like this:


Then after that, we need to move everything inside the folder "NexoPOS-4x-4.7.9" to the folder "pos" like this:

mv NexoPOS-4x-4.7.9/* .

Let's make sure we have the file ".env.example" available. If not, you can still download that from Github.

You can now safely delete the folder "NexoPOS-4x-4.7.9" if you want.

Downloading Composer Dependencies

Now we'll proceed by downloading Composer Dependencies. This will be made using the following command:

composer2 install

Note that here we're using "composer2" as that's how to access composer 2 which is required for NexoPOS.

Right after that, you'll need to run "php artisan storage:link".

Right now, when you access your system online, you should be able to see the welcome page.

Create Database On Hostinger

We need to create a database to be able to use NexoPOS 4.x. Let's head to the databases and click on the icon "MySQL Databases".

You'll then be invited to create the database name and the database user with the password.

Once you're done with that, you can come back to the installation wizard of NexoPOS to proceed with the installation.

NexoPOS 4.x Installation Wizard

We'll now proceed with the installation wizard. From there, we'll fill all the database details we get while creating a database and a user on hostinger.

If all the information we filled are correct, we'll be redirected to the application configuration.

Here, we just have to provide :

  • The name of the app
  • the user (admin)
  • his email
  • the password
  • the password confirmation

If everything is correct, you should land on the login page. And from there, that means you've successfully installed NexoPOS 4.x on Hostinger.

Was this helpful? If it wasn't and you still need help, let us know at [email protected]