# Install Claktory on Windows with WSL 2 (preview)

We recommend the [Claktory app for Windows](https://claktory.com/docs/install-windows). WSL 2 stays supported, if you'd rather have Linux tools.

Claktory runs on Windows in WSL 2, Windows' own Linux. You work with it from the Claktory app on an iPhone, iPad, Android phone or Mac. Windows support is a preview.

Tested on Windows 11 with Ubuntu 24.04. No Linux in WSL yet? Open PowerShell as administrator, run `wsl --install`, restart your PC, then open Ubuntu from the Start menu.

1. Open your Linux in WSL 2, such as Ubuntu, and run this as your own user, with your Claktory account's email:

   ```
   curl -fsSL https://claktory.com/install.sh | bash -s -- --email you@example.com
   ```

   It first checks that your Linux and the Windows drive under it are safe for Claktory. If something needs fixing, such as turning on systemd, it says how. Fix it, then run the command again.

2. Approve it in **Needs you** on a device where you signed in to Claktory with your email, as on the [Linux page](https://claktory.com/docs/install-linux). That device then connects at once.

   No device connected to a Claktory yet? Run the command with `--show-code` in place of `--email you@example.com`, and connect your first device with the code it shows, as on the [Linux page](https://claktory.com/docs/install-linux).

3. Follow the app's first steps: 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.

## Keep it running

- Windows stops your Linux a few seconds after its last window closes, and Claktory with it. The installer offers to add one Windows task that keeps your Linux running while you're signed in to Windows, and keeps Windows from going to sleep on its own. Answer y to add it.
- Closing the lid or choosing Sleep still puts the computer to sleep, and Claktory stops until it wakes.
- To check your setup again, run `claktory-wsl check`. To remove the task, run `claktory-wsl keep-running off`.

---

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

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.

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Our penguin is drawn after Tux by Larry Ewing (lewing@isc.tamu.edu), made with The GIMP.

Windows is a trademark of the Microsoft group of companies.

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.
