Skip to content

[FEATURE]: Full portable mode. #4526

Closed
Closed

Description

@nitg16

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently it is difficult to make opencode portable and use same config and sessions on multiple devices.

Env var OPENCODE_CONFIG_DIR allows relocating config directory.

But data directory located at ~/.local/share/opencode cannot be relocated.

Proposal: Add OPENCODE_DATA_DIR env var to override data directory.

This will allow us to go full portable mode by exporting both config and data directory to a single location.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Nov 20, 2025
  2. added a commit that references this issue on Jan 16, 2026
    b1f6d62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions