logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install XTLS/Xray-core. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

XTLS/Xray-core Installation Guide

How to install XTLS/Xray-core. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for XTLS/Xray-core. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i XTLS/Xray-core
or

Install via npx

npx @hexmos/ipm i XTLS/Xray-core

Prerequisites

Python

language

Version: >=3.6.0

pip

package_manager

Package installer for Python.

Git

system_tool

Version: 2.30.1

Docker

system_package

Containerization platform for development and deployment.

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Go Build (Windows)

CGO_ENABLED=0 go build -o xray.exe -trimpath -buildvcs=false -ldflags="-s -w -buildid="" -v ./main

CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid="" -v ./main

Post Installation Steps

  • Start the server using the command: `npm start`.
  • Run database migrations with the command: `npx knex migrate:run`.