Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

opencode on clean macos zsh .export path not working because it append and it fails because no ~/.zshrc file

Open Beginner friendly
#55,068 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@fihaaade is already working on this.

Since Oct 13, 2026.

  • #55161 by @fihaaade — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
macos, typescript, zsh
Domain
cli

Research direction

Start by finding the installer code that appends the OpenCode bin path to ~/.zshrc; the issue does not name a file, so trace the macOS install entry point. Check how it handles a missing shell configuration file, then verify that installation on a clean macOS setup creates the file and adds export PATH="$HOME/.opencode/bin:$PATH".

Written by the indexing model from the issue text.

Description

reproduced
Description

on clean macos there is no ~/.zshrc file
so after opencode install it try to append but file is not there
solution is to create new ~/.zshrc file with path

export PATH="$HOME/.opencode/bin:$PATH"

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Dominant language
TypeScript
Stars
213k
Forks
28.4k
Avg merge
7h 22m
Merged PRs (30d)
276

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anomalyco/opencode

All issues in anomalyco/opencode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.