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 13:09] abel [configuration] |
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 ==== |
| - | </ | + | |
| - | ===== Auto-Start at Boot time ===== | + | '' |
| - | ==== Create a systemd Service File ==== | + | |
| + | ==== Auto-Start at Boot time ==== | ||
| + | |||
| + | Create a systemd Service File | ||
| '' | '' | ||
| add: | add: | ||
| Regel 49: | Regel 56: | ||
| '' | '' | ||
| - | ==== start and enable ==== | ||
| Start and enable opencode by: | Start and enable opencode by: | ||
| Regel 61: | Regel 67: | ||
| ==== connection to an AI ==== | ==== connection to an AI ==== | ||
| + | edit the configuration file: '' | ||
| - | ==== Connect tools ==== | + | and fill it with: |
| + | < | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | ===== 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: | ||