# Install

CrushClient brings everything it needs, including its own Java. Nothing else has to be installed, except on Linux, where it uses the system's GTK and WebKitGTK.

<!-- DOWNLOAD-LINK: CrushClient_windows.exe, CrushClient_macOS.zip, CrushClient_linux_x64.tar.gz -->
The download links will be added here when the builds are published (`https://www.crushftp.com/early27/…`).

## Windows

1. Download `CrushClient_windows.exe` and run it. It installs for your user only, so it needs no administrator rights.
2. Start **CrushClient** from the Start menu.

<!-- SCREENSHOT: the Windows installer and the CrushClient window on Windows -->

- It installs into `%LOCALAPPDATA%\Programs\CrushClient`. Your settings are kept apart from the program, in `%LOCALAPPDATA%\CrushClient` ([Files and folders](Files-and-Folders.md)).
- The window uses Microsoft Edge WebView2, which is part of Windows 11 and comes to Windows 10 through Windows Update. Without it, CrushClient opens its page in your default browser.
- Installing over the older CrushClient replaces it and keeps its settings ([Upgrading](Upgrading.md)).
- To remove it, use **Apps › Installed apps** in Windows Settings. Your settings folder is left in place.

## macOS

1. Download `CrushClient_macOS.zip` and open it. It holds `CrushClient.app`.
2. Drag `CrushClient.app` into **Applications** and open it.

<!-- SCREENSHOT: CrushClient.app in the Applications folder -->

- The app is signed and notarized by CrushFTP, so macOS opens it without extra steps.
- It is built for Apple Silicon. An Intel build is made on request.
- Your settings are in `~/Library/Application Support/CrushClient/`, not inside the app, so replacing the app with a newer one keeps them.
- To remove it, drag the app to the Trash.

## Linux

1. Download `CrushClient_linux_x64.tar.gz` and unpack it:

   ```
   tar xzf CrushClient_linux_x64.tar.gz
   cd CrushClient
   ./install.sh
   ```

2. Start **CrushClient** from your desktop's menu, or run `crushclient` in a terminal.

`install.sh` installs for your user, not as root:

| It puts | Where |
|---|---|
| the program | `~/.local/share/crushclient` (another folder with `--dir <folder>`) |
| a menu entry and icon | your desktop's applications menu |
| the `crushclient` command | `~/.local/bin` |

- It needs **GTK 3** and **WebKitGTK 4.1**. When they are missing, it installs them with `apt`, `dnf`, `zypper` or `pacman`, which asks for your `sudo` password. With `--no-deps` it only names the packages.
- Running `install.sh` of a newer package again replaces the program and keeps your settings.
- `./uninstall.sh` removes the program, the menu entry and the command, and keeps your settings. `./uninstall.sh --purge` also removes them (`~/.CrushClient`).
- `README.txt` in the package says the same.

## First start

CrushClient opens with two empty panes: **Left** is set to your local files, **Right** is ready for a server. Continue with the [Quick start](Quick-Start.md).

It checks for a newer version 20 seconds after it starts and once a day, and asks before it downloads one ([Updates](Updates.md)).

## Without the desktop app

The same program is in `CrushTunnel.jar`, which every CrushMFT server has in its `WebInterface` folder. With a Java of your own you can run CrushClient from it on any system, as a command line, in scripts, or as a page in your browser:

```
java -jar CrushTunnel.jar
```

See [Command line](Command-Line.md).
