설치 확인
설치된 버전을 확인하세요:
opencode --version
Added opencode to your PATH via: /root/.bashrc
Basic Usage
1. Navigate to your project:
cd <project>
2. Start OpenCode:
opencode
중요한 길들
- 설치 디렉터리:
/root/.opencode/bin - 이진수:
/root/.opencode/bin/opencode
웹 인터페이스에 접속하기
1. Start the OpenCode web server on a specific port (e.g., 8080):
opencode web --port 8080
2. From your local machine, create an SSH tunnel to securely forward the port:
ssh -L 8080:localhost:8080 root@<SERVER_IP>
3. Then open your browser and go to: http://localhost:8080