Before running the extracted server, you must install the production dependencies:
If you see "not in gzip format," verify your download URL; sometimes a 404 error page is downloaded as an HTML file instead of the actual archive. rocket-chat.tgz
This creates a bundle directory containing the server files. Dependencies Before running the extracted server, you must install
Replace latest with the version number, such as 6.13.0 . Before running the extracted server
It is highly recommended to run the server under a dedicated non-root user, such as rocketchat , to improve security.
Navigate to the server program directory: cd bundle/programs/server . Install with npm: npm install --production . ⚠️ Troubleshooting Tips
curl -L https://releases.rocket.chat/latest/download -o rocket.chat.tgz