Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
| Beide kanten vorige revisie Vorige revisie Volgende revisie | Vorige revisie | ||
|
installatie_handleidingen:openclode [2026/03/25 17:00] abel |
installatie_handleidingen:openclode [2026/03/31 10:56] (huidige) abel [start opencode manually] |
||
|---|---|---|---|
| Regel 2: | Regel 2: | ||
| ===== Software installation ===== | ===== Software installation ===== | ||
| + | ==== install npm installer ==== | ||
| - | Install | + | The best result is acchieved |
| < | < | ||
| - | curl -fsSL https://opencode.ai/install | + | sudo apt update |
| + | apt install npm | ||
| + | </code> | ||
| + | |||
| + | ==== install | ||
| + | |||
| + | < | ||
| + | npm install | ||
| </ | </ | ||
| Regel 16: | Regel 24: | ||
| - | The install script from the opencode repository has a fixed location for the binary located in the users homedirectory together with the user settings. changing this would involve ajusting the script at: | ||
| - | < | ||
| - | ... | ||
| - | INSTALL_DIR=$HOME/.opencode/bin | + | ===== run the opencode |
| - | mkdir -p " | + | |
| - | + | ||
| - | ... | + | |
| - | </ | + | |
| ==== start opencode manually ==== | ==== start opencode manually ==== | ||
| - | as a TUI: | ||
| - | '' | ||
| - | as a webinterface: | + | '' |
| - | '' | + | |
| ==== Auto-Start at Boot time ==== | ==== Auto-Start at Boot time ==== | ||
| - | Since we plan on using opencode as a plugin for VSCodium we will not use auto start, but if we would it would go like this: | ||
| Create a systemd Service File | Create a systemd Service File | ||
| Regel 93: | Regel 90: | ||
| </ | </ | ||
| - | ==== Connect tools ==== | + | ===== Connect tools ===== |
| there is also a VSCodium plugin. how to set this up you can find [[werkinstructies: | there is also a VSCodium plugin. how to set this up you can find [[werkinstructies: | ||