Installing Keploy
Keploy uses eBPF to intercept API calls at the network layer and generate test cases and mocks/stubs.
Choose your OS to get started 🚀
- Linux
- macOS
- Windows
Installing Keploy on Linux is super easy it works on any Linux distribution with a simple one-command installation
1. Install Keploy
curl --silent -O -L https://keploy.io/install.sh && source install.sh
2. Verify Installation
keploy --version
✅ If you see the version number, Keploy has been installed successfully!
🎉 Congratulations!
You’ve successfully installed Keploy on Linux.
Keploy does not natively support macOS. However, you can run it using Lima or Docker.
👉 Choose your preferred method:
Option 1: Install Keploy with Lima
-
Check if Lima is installed: If you already have Lima, Go to Step 6.
-
Install Lima
brew install lima
-
Create a Debian instance [or any instance of your choice]
limactl create template://debian-12
-
Start the instance
limactl start debian-12
-
Enter the Linux shell
limactl shell debian-12
-
Install Keploy inside Lima
curl --silent -O -L https://keploy.io/install.sh && source install.sh
-
Verify the installation
keploy --version
✅ If the version shows up, Keploy is installed successfully!
What's Next?
🎬 Start Capturing Test Cases
Begin recording your API calls and automatically generate test cases with Keploy.
Option 2: Install Keploy with Docker on macOS
-
Make sure Docker is installed: You’ll need Docker Desktop running on macOS.
-
Create a Docker bridge network
docker network create keploy-network
-
Install Keploy
curl --silent -O -L https://keploy.io/install.sh && source install.sh
-
Verify the installation
keploy --version
✅ If the version shows up, Keploy is installed successfully!
What's Next?
🎬 Start Capturing Test cases