Skip to content

Latest commit

 

History

History
316 lines (214 loc) · 23.3 KB

linux.md

File metadata and controls

316 lines (214 loc) · 23.3 KB

Install orke on a Linux server

The current Linux release is 3.4.22 (November 19, 2026). Use the main README for its installation requirements, Google sign-in and HTTPS access, server browser, orke update, orke uninstall and readiness commands. Current releases no longer use ngrok; the ngrok setup on this page applies only to the older releases it describes. This page preserves the historical October 9 Linux 3.4.1 installation flow and measurements; its older package examples and Korean output describe that release. Earlier Linux packages, including 3.4.1, were withdrawn on October 13, 2026; the remaining 3.4.6 release was withdrawn on October 15, 2026. The 3.4.1 download and --version 3.4.1 commands below no longer work: use the README's manual download for 3.4.22.

The Linux package runs orke on a server that has no screen, such as a cloud VM. You install it over SSH with one command:

curl -fsSL https://orke.bomtobe.com/install.sh | bash

After that you open orke from a browser or the orke Android app through your own ngrok address, and only the Google account you choose can get in.

Note

orke's screens and its command-line messages are in Korean. This guide quotes the Korean text you will see and explains what it means.

On this page: How it works · Before you start · 1. Packages · 2. Install · 3. Step by step · 4. ngrok · 5. Connect · 6. Keep it running · 7. Claude Code and Codex · 8. Open orke · orke support · Everyday commands · Update · Uninstall · Troubleshooting · What has been tested

How it works

  • orke runs on the server as your own user, as a background service that starts when the server boots. Its terminals have the same permissions as that user.
  • You use orke in a browser, on any computer or phone, at your ngrok address (for example https://name.ngrok-free.app). ngrok asks for a Google sign-in and lets in only the email address you set.
  • Terminals, coding agents, Git, sessions, accounts and orke support are all used in the browser. The server version has no desktop window, so web pages cannot be opened inside orke there.
  • The new-session window also offers NVIDIA, orke's own agent. The Linux package includes it, but it has been tested only on Windows and has not been tried on a server.

Before you start

You need:

  • A server running Ubuntu 24.04 LTS on x86_64. uname -m should print x86_64. The package is for x86_64 only; the installer stops on ARM and other machines. Other distributions have not been tested.
  • systemd. Ordinary cloud VMs and physical servers have it. Containers and WSL usually do not, and orke cannot install its service there.
  • A regular user account that you log in to with SSH. Do not use root; the installer refuses it.
  • sudo rights for installing system packages. orke itself installs into your home folder without sudo.
  • A free ngrok account. In the ngrok dashboard you need two things:
    • your free static domain, on the Domains page. It looks like name.ngrok-free.app or name.ngrok-free.dev. orke accepts only these two forms.
    • your authtoken, on the Your Authtoken page.
  • The Google account you will sign in with.
  • Claude and ChatGPT subscriptions if you want to use those agents. Ordinary terminals need no AI account.

1. Install the required packages

sudo apt-get update
sudo apt-get install -y libicu74 ca-certificates procps curl git

The installer checks for these packages. If one is missing, it stops and prints the command that installs it.

2. Install orke

Run this as the user who will use orke:

curl -fsSL https://orke.bomtobe.com/install.sh | bash

The command:

  • finds the newest Linux package on the releases page, downloads it and checks its SHA-256,
  • installs orke into ~/.local/share/orke and creates the command ~/.local/bin/orke,
  • does not touch your settings and records in ~/.orke,
  • removes the downloaded files and prints the next commands with their full paths when it finishes.

When it succeeds, it prints orke 3.4.1 을 설치했습니다 ("orke 3.4.1 has been installed"). If a required package is missing, it stops and prints the sudo apt-get install command; run that, then run the same command again.

To install a particular version, add it at the end: curl -fsSL https://orke.bomtobe.com/install.sh | bash -s -- --version 3.4.1. You can read the script before running it.

Tip

If ~/.local/bin did not exist before, it is not on your PATH until your next login (Ubuntu adds it automatically at login). Until then, type ~/.local/bin/orke instead of orke, or log out and back in. This guide writes orke for short.

3. Or install it step by step

If you prefer to download and check the package yourself, these commands do the same as step 2:

curl -fLO https://github.com/bomtobe-hgkim/orke-linux/releases/download/v3.4.1/orke-3.4.1-linux-x64.tar.gz
curl -fLO https://github.com/bomtobe-hgkim/orke-linux/releases/download/v3.4.1/orke-3.4.1-linux-x64.tar.gz.sha256
sha256sum -c orke-3.4.1-linux-x64.tar.gz.sha256
tar xzf orke-3.4.1-linux-x64.tar.gz
./orke-3.4.1-linux-x64/install.sh

sha256sum should print orke-3.4.1-linux-x64.tar.gz: OK; if it prints anything else, the download is damaged, so download it again. You can delete the .tar.gz file and the extracted folder afterwards.

4. Install ngrok

Install ngrok from ngrok's own apt repository. orke needs ngrok 3.39.9 or later. The snap version of ngrok does not work with orke, because snap does not let it read orke's settings folder.

curl -fsSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null
echo "deb https://ngrok-agent.s3.amazonaws.com bookworm main" | sudo tee /etc/apt/sources.list.d/ngrok.list >/dev/null
sudo apt-get update
sudo apt-get install -y ngrok
ngrok version

You do not need to run ngrok config add-authtoken. orke keeps the authtoken itself, in ~/.orke/remote-access, after the next step. It is stored encrypted, but on Linux the key that decrypts it is a file in the same folder, so what protects the token is that only your user can read that folder. Keep that folder, and any backup of ~/.orke, private.

5. Connect your ngrok address

orke remote setup

It asks four questions:

What you see What it asks What to enter
ngrok 고정 주소(…) Your ngrok static domain For example name.ngrok-free.app (no https://, no path)
이 주소를 다른 컴퓨터의 orke(예: PC)도 쓰나요? [y/N] Does another computer's orke (for example your PC) also use this address? Press Enter for No
접속을 허락할 본인 Google 이메일 The Google email address allowed to sign in Your Google email
ngrok Authtoken(…) Your ngrok authtoken Paste it and press Enter. Nothing appears while you type; that is normal. Pasting the whole ngrok config add-authtoken … command also works.

One ngrok address can be used by only one computer at a time. If your PC's orke has been using the same address, let the server have it: on the PC, stop remote access and turn off orke을 시작할 때 자동으로 연결 (Connect automatically when orke starts) under 설정 › 다른 기기에서 접속 (Settings › Access from other devices). Otherwise whichever connects second stops with an error.

orke connects every time it starts. If orke is already running when you change these settings, run orke service restart (see the note under Everyday commands).

For scripts, orke remote setup --hostname <domain> --email <email> --authtoken-stdin reads the authtoken from standard input instead of asking.

6. Start orke and keep it running

Optional quick test. Start orke in the foreground:

orke serve

It prints a single line, orke: UI 는 ngrok 주소로 여세요(…) ("open the UI at your ngrok address"). You can now open your ngrok address in a browser, as in step 8. Press Ctrl+C to stop it before you continue.

Install the service:

orke service install

This:

  • creates and starts a systemd user service, ~/.config/systemd/user/orke.service,

  • turns on linger for your user, so orke keeps running after you log out and starts at boot without anyone logging in. If your user is not allowed to do that without a password, it prints a warning and the command an administrator should run once: sudo loginctl enable-linger <your user name>.

  • may suggest reserving orke's network ports. This is optional; it prevents a rare startup failure when another program happens to take one of orke's ports first:

    echo 'net.ipv4.ip_local_reserved_ports=47620-48643,48700' | sudo tee /etc/sysctl.d/90-orke.conf && sudo sysctl --system

    If the server already reserves other ports (sysctl net.ipv4.ip_local_reserved_ports shows them), add them to that line, separated by commas. The setting holds one list, so a new value replaces the old one.

Check that it is running:

orke service status

7. Install and sign in to Claude Code and Codex

Install the agents for the same user that runs orke. These are the install methods that were used on the test server:

# Claude Code (installs ~/.local/bin/claude)
curl -fsSL https://claude.ai/install.sh | bash

# Codex, through npm (Ubuntu's own Node.js and npm)
sudo apt-get install -y nodejs npm
sudo npm install -g @openai/codex

The tests used Claude Code 2.1.292 (it updated itself to 2.1.295 during the tests) and Codex 0.160.1. Codex was installed with Ubuntu's Node.js 18 and npm 9; later in the tests the server's Node.js was 22 from NodeSource. Codex's terminal command starts through Node.js, while orke support runs Codex's own program directly. Without a version number these commands install the newest release, which has not been tested with orke 3.4.0. To install the tested Codex, run sudo npm install -g @openai/codex@0.160.1. Do the same if orke support shows 이 codex 버전에서는 꺼야 할 기능(…)을 끌 수 없습니다 — orke 업데이트가 필요합니다. ("orke cannot turn off features it must turn off in this Codex version; orke needs an update").

Sign in, either in your SSH session now or later from a terminal tab inside orke:

claude auth login
codex login --device-auth
  • Claude: open the link it shows, sign in, then paste the code back into the terminal and press Enter. The code may not appear on screen while you paste it.
  • Codex: first turn on device code sign-in in your ChatGPT security settings. Then open https://auth.openai.com/codex/device and enter the code that the command shows.

If the shell says claude: command not found, this SSH session does not have ~/.local/bin on its PATH yet (see the tip in step 2). Log out and back in, or run ~/.local/bin/claude auth login.

If Claude or ChatGPT gets signed out while orke support is answering, the orke support window shows a banner with 터미널에서 로그인 (Sign in from a terminal). It opens a new terminal tab with the sign-in command already typed; press Enter to run it.

OpenCode, Hermes and Antigravity can be installed with their own installers (see Agents and accounts). They have not been tested on a server yet.

8. Open orke

  1. On your PC or phone, open your ngrok address, for example https://name.ngrok-free.app, in a browser. In the Android app, save the same address; the current Google Play version (2.0.4) was published before the rename, so on the phone it is still called BOM. There is no orke iPhone app yet; you can try Safari, which has not been tested yet.
  2. On a free ngrok domain, ngrok first shows a notice page that starts with "You are about to visit". Choose Visit Site.
  3. Sign in with the Google account you entered in step 5.

To start working, press Ctrl+Alt+T or click the terminal button in the Dock at the bottom of the screen. Choose Terminal, Claude, ChatGPT or another agent, and a working folder, then 시작 (Start).

The usage shown at the top right is for the accounts signed in on the server.

Without ngrok, you can open orke through an SSH tunnel. The service log names the port:

journalctl --user -u orke | grep 'ssh -L'

On your own computer, run the ssh -L <port>:127.0.0.1:<port> <user>@<server> command from that line and keep it open. Use the same port number on both sides, as in that line; orke accepts only its own port. If that port is already taken on your computer, the tunnel will not work. Then, on the server, print the private address:

sed -n 's/^url=//p' ~/.orke/run/ui.url

It prints one address that starts with http://127.0.0.1:. Open it in a browser on your own computer while the tunnel is open. It contains a private access token, so do not share it.

Use orke support (optional)

orke support lets your own services, such as a website or a chat bot, ask questions over HTTP and get answers from the Claude or ChatGPT subscription signed in on the server.

  1. Open the orke support window from the Dock at the bottom of the screen. Create AIs, keys and settings in a browser on a computer. A phone can only show AIs and their room records (on a phone the window is in the side list).
  2. Create an AI, copy its access key (orke_sk_…, shown in full only once) and add MCP tools if you need them. The AI's 연결 (Connection) tab shows its address, its key and example requests (curl) for your service.
  3. Your service sends its questions to http://127.0.0.1:48700/v1. That address is reachable only from the server itself, so to take questions from another computer, put nginx or Caddy with HTTPS in front of it on the server. The button at the bottom of the AI list (it reads 입구 열림, "ingress open") opens orke support 설정 (orke support settings), which shows Caddy and nginx examples. With nginx, set proxy_read_timeout longer than the AI's time limit (5 minutes by default); nginx's default of 60 seconds is too short.

Good to know:

  • orke support answers only with a subscription sign-in. If Codex is signed in with an API key, it refuses and tells you to sign in with your ChatGPT account.
  • Your ngrok address is for people opening orke's screen. Services do not send questions through it.
  • Keep 기본 도구 쓰기 (Use built-in tools) off for any AI that answers text from customers. A Claude AI with built-in tools turned on runs commands with the full permissions of the user that runs orke, even outside its working folder; in a test, its Bash tool wrote a file outside the folder. As orke warns when you turn the tools on, such an AI can read or change orke's files, including other rooms' records and stored secrets.
  • On Ubuntu 24.04's default settings, a ChatGPT AI with built-in tools turned on cannot run any command, not even a read-only one: Ubuntu's security settings block the sandbox that Codex uses for commands (measured with Codex 0.160.1). Those failed attempts do not appear in the room record.

Everyday commands

Command What it does
orke service status Shows whether the service runs, which ngrok program it uses and the last ngrok error
orke service restart Restarts orke, for example after orke remote setup
orke service uninstall Stops and removes the service. Your settings in ~/.orke stay.
journalctl --user -u orke The service log. orke writes one start line there.
less ~/.orke/logs/daemon.log orke's own log

Warning

Restarting orke, with orke service restart or by installing an update, ends every terminal session and every running agent on the server, and stops orke support questions that are in progress. Do it when nothing important is running. Run it in an SSH session; if you run it from a terminal tab inside orke, that tab ends too and the browser reconnects to a workspace with no sessions.

Update

Run the same command again. It installs the newest version over the one you have:

curl -fsSL https://orke.bomtobe.com/install.sh | bash

To do it step by step instead, use the commands from step 3 with the new version number in place of 3.4.1.

If the service is running, the installer stops it, puts the new version in place and starts it again. Your settings in ~/.orke are kept. Stopping the service ends all running sessions, as described in the warning above.

  • Run the installer in an SSH session, not in a terminal tab inside orke; the installer refuses to run there, because stopping the service would end that tab.
  • If you started orke serve by hand, stop it with Ctrl+C first.

Uninstall

Before you uninstall, if you used orke support: while orke is still running, delete its AIs or rooms in the orke support window. That also deletes their Claude and Codex conversation histories, which are kept outside ~/.orke (in ~/.claude/projects and ~/.codex/sessions), and only orke can find them. Give it a minute to finish.

Then, in an SSH session (not in a terminal tab inside orke, where orke service uninstall refuses to run), remove the service first and then the program:

~/.local/bin/orke service uninstall && rm -rf ~/.local/share/orke ~/.local/bin/orke

Keep this order. If you delete the program first, the service is left trying to start a program that no longer exists; remove it by hand with systemctl --user disable --now orke, rm ~/.config/systemd/user/orke.service and systemctl --user daemon-reload.

Optional clean-up:

  • rm -rf ~/.orke deletes all of orke's settings and records, including the remote access settings.
  • orke's web server also keeps a key file in ~/.aspnet/DataProtection-Keys. Delete that folder too if no other .NET web app runs as this user.
  • loginctl disable-linger $USER turns linger off again, if nothing else on the server needs it.
  • sudo apt-get remove ngrok removes ngrok.

Troubleshooting

You see Meaning What to do
오류: orke에 필요한 패키지가 없습니다: … Required packages are missing Run the sudo apt-get command it prints, then run the installer again.
root로는 설치하지 않습니다 … The installer refuses root Log in as a regular user and run it again.
snap으로 설치한 ngrok은 지원하지 않습니다 … ngrok was installed from snap Remove the snap (sudo snap remove ngrok) and install ngrok from the apt repository (step 4).
주의: linger를 켜지 못했습니다 … Your user may not turn on linger without a password Have an administrator run sudo loginctl enable-linger <your user name> once. Until then, orke stops when you log out.
orke is already running. orke is already running, usually as the service Use orke service status and orke service restart instead of orke serve.
이 시스템은 systemd로 부팅되지 않아 … No systemd (a container or WSL) orke's service cannot be installed there. orke suggests running orke serve directly instead; that has not been tested.
sudo -u·su로 바꾼 셸에서는 그 사용자의 서비스를 다룰 수 없습니다 … The service commands do not work in a shell opened with sudo -u or su Log in with SSH directly as the user who runs orke.
이 주소를 다른 orke이 쓰고 있습니다 ngrok error 334: another computer is using the same ngrok address Stop remote access on the other computer, then run orke service restart.
ngrok 인증에 실패했습니다 ngrok error 105 or 107: ngrok rejected the saved authtoken Run orke remote setup again with the current authtoken from the ngrok dashboard, then orke service restart.
연결하지 못했습니다 with a 다시 연결 button The browser lost the connection for a long time Press 다시 연결 (Reconnect).

orke does not keep retrying after ngrok errors 334, 105 and 107. Fix the cause, then run orke service restart.

What has been tested

Everything below was done on one Ubuntu 24.04.5 LTS (x86_64) server on Google Cloud, in October 2026.

With the published 3.4.1 package, which differs from 3.4.0 only in its fix for the ChatGPT tab:

  • updating an existing 3.4.0 installation with ngrok by running the one-line command again: it picked 3.4.1 by itself, and ngrok connected again 6 seconds after the update,
  • a ChatGPT tab showing 입력 대기 (waiting for input) under 확인 필요 after Codex had answered, twice in a row (Codex 0.160.1 with no reasoning level chosen; with 3.4.0 the same tab kept showing 작업 중).

With the published 3.4.0 package, following this guide:

  • installing it with the one-line command from orke.bomtobe.com, including --version, a version that does not exist and running it again,
  • installing it step by step: downloading it from the release page and checking it with sha256sum,
  • both as a new user with no sudo rights and no admin groups,
  • orke serve, and stopping it with Ctrl+C,
  • orke service install, which turned on linger for that user without a password, and orke service status,
  • opening orke through an SSH tunnel from another computer, and starting a terminal session there,
  • updating over a running service: for that new user, and for an existing installation with ngrok, which connected again 6 seconds after the update,
  • starting Claude Code (with orke's status add-on) and Codex sessions from the new-session window in the browser, and asking each of them questions in English and in Korean,
  • orke support answering questions sent from another computer over HTTPS, once through Caddy and once through nginx, each set up as in the examples in orke support 설정 (with a private test certificate instead of a public domain),
  • orke service uninstall and removing the files, in the order above.

With earlier test builds (installed as 3.3.1 and 3.3.2). Their service, ngrok, installer and orke support code is the same as in 3.4.0, but they did not yet have some later changes, such as orke's status add-on for Claude:

  • the service starting at boot without anyone logging in, and running on after logout,
  • ngrok connecting again by itself after the network came back,
  • opening orke at the ngrok address from a PC browser and from a development build of the Android app,
  • signing in to Claude and ChatGPT from a terminal tab inside orke.

Not tested yet: other distributions, desktop Linux, servers without systemd, ngrok installed other than from its apt repository, ngrok errors 334, 105 and 107 on a real server (checked only by automated tests), the Google Play version of the Android app, Safari on an iPhone, OpenCode, Hermes, Antigravity, NVIDIA and the Docker sandbox on a server, and a public domain with a certificate from a public authority (such as Let's Encrypt) in front of orke support.