- The Archil client, which mounts disks: Linux and macOS
- The
disknpm package, which provides thediskandsandboxCLIs - The CSI driver for Kubernetes
- Unmount every Archil disk. A clean unmount flushes recently written data to Archil and releases any files you have checked out. If you remove the client while a disk is still mounted, writes that haven’t been flushed yet are lost.
- Remove the software.
- Optionally remove local files. These include saved credentials, so remove them if the machine is being decommissioned or handed to someone else.
Uninstalling the client doesn’t change your disks or the data on them. Disks stay in your account until you delete them
from the Archil console.
Linux
The Linux client is distributed as a package namedarchil. It installs two files:
1
Unmount every disk
List the Archil disks currently mounted on the server:Unmount each one with Then confirm that no client processes are still running:If a process is still listed, it’s still flushing data. Wait for it to exit, and don’t
archil unmount, which flushes pending writes before it disconnects:kill -9 it.2
Remove automatic mounts
If you mount disks automatically on startup, remove the Archil
entries from Also remove any startup scripts, systemd units, or configuration management that runs
/etc/fstab. Otherwise, the server tries to mount them at the next boot and fails.archil mount.3
Remove the package
- Debian / Ubuntu
- RHEL / Fedora / Amazon Linux
- Alpine
libfuse2, fuse-libs, or fuse) is left installed, because other
software may depend on it.4
Remove leftover files (optional)
The package manager doesn’t remove the files below, even with
apt purge, because the package didn’t create them.macOS
The macOS client is a menu bar app. The first time it launches, it asks for your administrator password and installs a mount helper and asudoers rule, so that mounting and unmounting disks doesn’t require a
password. Removing the app from /Applications doesn’t remove these files, so the steps below remove them separately.
1
Unmount every disk and quit Archil
Click the Archil icon in the menu bar and choose Quit. Quitting unmounts every disk and waits for pending writes
to flush.To check for any disks that are still mounted, run:Unmount anything listed with
sudo umount "/Volumes/<disk-name>".2
Remove the app
Unregister the file system extension, then delete the app:
3
Remove the mount helper and sudoers rule
Remove the
sudoers rule first, then the helper it points to:4
Remove your data (optional)
These folders hold your Archil sign-in session, the tokens for disks you’ve mounted, and the app’s settings and
caches. Run the following as each macOS user who used Archil:If macOS denies access to the
Containers or Group Containers folders, give Terminal Full Disk Access in
System Settings → Privacy & Security, or delete the folders from Finder.The
disk CLI stores its profiles in ~/Library/Application Support/Archil/disk, so the
first command above removes those too. To keep them, delete only the files directly inside
~/Library/Application Support/Archil and leave the disk folder in place.Deleting local files doesn’t revoke the credentials on Archil’s side. If the machine was lost or is moving to someone
else, also remove its disk tokens from each disk’s users in the Archil console or with the
Remove Disk User API.
disk npm package
The disk package provides two commands, disk and sandbox. It doesn’t install anything
outside npm, so how you remove it depends on how you added it.
1
Remove the package
- npx
- Global install
- Project dependency
If you only run
npx disk, there’s no install to remove. npx keeps a copy in npm’s cache, which npm manages
on its own.2
Delete saved profiles
If you saved credentials with Or delete the whole configuration directory:
disk profile create, they stay on disk after you remove the package. List your
profiles, then delete each one together with its stored API key:If you set
ARCHIL_DISK_CONFIG_DIR, profiles are stored in that directory instead.Deleting a profile only removes the local copy of its API key. To revoke the key itself, delete it in the
Archil console.