Install Code Server on Artix
Aditya Kumar
1 min read
Same as installing code-server on Arch, except you need an OpenRC script.
Install using yay
yay
is a convenient AUR helper.
yay -S code-server
Install using makepkg
git clone https://aur.archlinux.org/code-server.git
cd code-server
makepkg -si
Download and configure OpenRC script
The script is pretty generic and should work on most OpenRC-based distributions with minimal tweaks. You just need to download it, make it executable and put your username in line 3.
cd /etc/init.d/
sudo wget -c https://gitea.adityakumar.xyz/aditya/code-server-openrc/raw/branch/master/code-server
sudo chmod +x code-server
code-server
reads configuration from ~/.config/code-server/config.yaml
. It is better than sending arguments directly to code-server
using the script.
Usage
Start on boot with default runlevel
sudo rc-update add code-server default
Start the service immediately
sudo rc-service code-server start
0
Subscribe to my newsletter
Read articles from Aditya Kumar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Aditya Kumar
Aditya Kumar
Student