⚙️ Running Server Binaries
After you have installed all ob your server files, you will need to run them in order to connect to your server. There are several methods in which you can do this.
Running the .exe
This is the easiest method for getting your server up and running. All you have to do is simply double click the file called altv-server.exe
and it should open a black command window
⌨️ Using Terminal (VS Code)
This method, is slightly different but can make life a lot easier when you need to restart your server or don't want to leave Visual Studio Code.
The keybinds to open an integrated terminal may vary based on your region. Try either CTRL
+ ~
or CTRL
+ '
. You may also use the Terminal
tab at the top of VS Code or look at VSCode's key binds.
You should see an integrated terminal pop-up, like the image below.
🖥️ Windows Environment
If the drop down menu on the right says cmd
or then you can start your alt:V server by running the following command:
altv-server
However if it says powershell
then you can start your alt:V server by running the following command:
./altv-server
You must use the correct command for the correct terminal, they are not cross-compatible
🐧 Linux Environment
The only caveat with the above commands is that they do not work in a Linux environment. If you are running your alt:V server in a linux environment then you need to run the following inside of the directory where your binaries are located inside of a terminal
.
chmod +x ./start.sh
chmod +x ./altv-server
You may start your server on Linux with.
./start.sh
You must use the correct command for the correct terminal, they are not cross-compatible
Written by Stuyk & Alexa