I wanted to run code-server on my synology nas but without running it via docker as i wanted it to have access to the main terminal and all the files. This could be a security risk but you do have options to improve that.
Steps to install it are:
- ssh into your nas
- run
curl -fsSL https://code-server.dev/install.sh | sh
Steps to create a systemctl service that will run at boot and keep code-server running.