# opencode import > Import session data from a JSON file or URL. > More information: . - Import from a JSON file: `opencode import {{path/to/session}}.json` - Import from a share URL: `opencode import {{URL}}` - Display help: `opencode import {{[-h|--help]}}`