# Install Claktory on a Linux server

1. On the server, run this as your own user:

   ```
   curl -fsSL https://claktory.com/install.sh | bash
   ```

2. Connect the device you'll work from with the code the installer shows, as text and as a QR code.

   **iPhone or iPad:** get Claktory from the [App Store](https://apps.apple.com/app/id6837053917) (in the EU, from [TestFlight](https://testflight.apple.com/join/kSYkdayX)), open it, tap **Scan code instead** and scan the QR code.

   **Android:** get Claktory from [claktory.com/android](https://claktory.com/android), open it, tap **Scan code instead** and scan the QR code.

   **Mac:** [download Claktory](https://claktory.com/download/mac), open it, click **Use a Claktory on another computer** and paste the code.

3. Your device shows 4 digits. Type them in the server's terminal, where the installer asks for them.

4. Follow the app's first steps: sign in with your email, tell Claktory your first name, and [connect your Claude or ChatGPT plan](https://claktory.com/docs/sign-in) or an API key.

Rivet, your first agent, then says hello. Tell it what you want.

## After you install

- Claktory runs on any Linux with systemd, on x86_64 or aarch64, and starts with the server. Your agents keep working there while your laptop sleeps.
- If the installer asks you to turn on lingering, run the command it shows. Claktory then keeps running after you log out.
- Devices reach the server through Claktory's encrypted tunnel, which works with every incoming port closed.
- To connect another device later, run `factoryd pair` on the server.
- Updates come through the Update banner in the app, as on a Mac.
- Claktory's log is `~/.factory/factoryd.log`.

---

From https://claktory.com/docs/install-linux

Claktory is made by Copium Labs Ltd, company number 15778277, registered in England and Wales. Registered office: 167-169 Great Portland Street, Fifth Floor, London W1W 5PF.

Apple, the Apple logo, App Store, iPhone, iPad, Mac, macOS and TestFlight are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
