### Install Node Version Manager (NVM) Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Download and execute the NVM installation script from GitHub. This script installs NVM to manage multiple Node.js versions. ```bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash ``` -------------------------------- ### Install Latest Xray Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Download the Xray installation script, make it executable, run it, and then remove the script file. This ensures the latest version of Xray is installed. ```bash curl -L https://raw.githubusercontent.com/remnawave/scripts/main/scripts/install-latest-xray.sh -o install-xray.sh \ && chmod +x install-xray.sh \ && bash ./install-xray.sh \ && rm install-xray.sh ``` -------------------------------- ### Install Supervisor Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Update the package list and install the Supervisor process control system using apt. ```bash sudo apt update && sudo apt install supervisor ``` -------------------------------- ### Start Development Services with Docker Compose Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Use this command to start the development services defined in the docker-compose-dev.yml file in detached mode. ```bash docker compose -f docker-compose-dev.yml up -d ``` -------------------------------- ### Run Supervisor Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Start the Supervisor process in the background using the specified configuration file. ```bash supervisord -c supervisord.conf & ``` -------------------------------- ### Install and Use Specific Node.js Version Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Install Node.js version 22.12.0 using NVM and set it as the current active version for the shell session. ```bash nvm install v22.12.0 && nvm use v22.12.0 ``` -------------------------------- ### Access Development Container Source: https://github.com/remnawave/node/blob/main/DEV_ENV.md Execute this command to open an interactive bash shell inside the running remnawave-node-dev Docker container. ```bash docker exec -it remnawave-node-dev /bin/bash ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.