Gebruikershulpmiddelen

Site-hulpmiddelen


installatie_handleidingen:openclode

Dit is een oude revisie van het document!


OpenCode install on Linux Mint

Software installation

Install with the bash script from the opencode website:

curl -fsSL https://opencode.ai/install | bash

reload your shell (or login again) exec zsh

verify with:

opencode --version

Auto-Start at Boot time

Create a systemd Service File

sudo vi /etc/systemd/system/opencode.service
add:

[Unit]
Description=OpenCode AI Assistant
After=network.target

[Service]
Type=simple
User=abel
WorkingDirectory=%h/opencode/projects
ExecStart=/usr/local/bin/opencode web --port 4096 --hostname 0.0.0.0
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

User=abel seems unsafe but that is how it works, and seeing as it is on the personal workstation any sequrity risk is minimal.

start and enable

Start and enable opencode by:

sudo systemctl enable opencode --now
installatie_handleidingen/openclode.1774434136.txt.gz · Laatst gewijzigd: 2026/03/25 11:22 door abel