Opencode 설치하는 방법
설치 명령어
curl -fsSL https://opencode.ai/install | bash
현재 터미널에 적용
source ~/.zshrc
~/.local/state/ 디렉토리가 root 소유로 되어 있어서 opencode가 상태 저장 디렉토리를 생성할 수 없음
다음 명령어를 사용해서 소유권을 staff로 변경
sudo chown -R $(whoami):staff ~/.local/state
프로그래밍 팁 그리고 프로그램 사용 방법 등을 공유 합니다.
설치 명령어
curl -fsSL https://opencode.ai/install | bash
현재 터미널에 적용
source ~/.zshrc
~/.local/state/ 디렉토리가 root 소유로 되어 있어서 opencode가 상태 저장 디렉토리를 생성할 수 없음
다음 명령어를 사용해서 소유권을 staff로 변경
sudo chown -R $(whoami):staff ~/.local/state