Installing Keploy
This guide walks you through installing the Keploy CLI, which enables you to record API calls and replay them as sandboxes for testing.
1. Install Keploy CLI
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
Make sure your Linux kernel version is 5.10 or higher.
👉 Choose your preferred method:
- Native
- Docker
1. Install Keploy CLI
curl --silent -O -L https://keploy.io/install.sh && source install.sh
2. Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓ ▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
Install Keploy with Docker on Linux
-
Make sure Docker is installed: You’ll need Docker installed on Linux
-
Install Keploy
curl --silent -O -L https://keploy.io/install.sh && source install.sh
- Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
Keploy does not natively support macOS. However, you can run it using Lima or Docker.
👉 Choose your preferred method:
- Lima
- Docker
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
- Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
Install Keploy with Docker on macOS
-
Make sure Docker is installed: You’ll need Docker Desktop running on macOS.
-
Install Keploy
curl --silent -O -L https://keploy.io/install.sh && source install.sh
-
Verify the installation
Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
You can run Keploy Natively or using WSL or Docker. If you want to run Keploy natively, make sure to do it as an administrator.
👉 Choose your preferred method:
- Native
- WSL
- Docker
Note: Native Windows support is available only for AMD. For ARM-based systems, please use WSL or Docker.
1. Create a Directory
Use this command to create a directory for Keploy:
New-Item -ItemType Directory -Force -Path "$env:APPDATA\Keploy\bin"
2. Install Keploy
Run this command to install the Keploy exe:
Invoke-WebRequest -Uri "https://github.com/keploy/keploy/releases/latest/download/keploy_windows_amd64.exe" -OutFile "$env:APPDATA\Keploy\bin\keploy.exe"
3. Set Environment Variable
Add the directory containing the Keploy binary to your system user’s PATH environment variable to make the keploy command available globally.
C:\Users\"Your Username"\AppData\Roaming\Keploy\bin
4. Finalize Setup
- Checks: Close all the terminals.
- Run as Admin: Open your terminal as Administrator.
- Troubleshooting: If you face issues, ensure
cmd.exeandpowershell.exe(default paths in Windows) are in your system environment variables.
5. Verify Installation
Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
Install Keploy with WSL
If you already have WSL, go to Step 2.
Note: Make sure you’re on:
- Windows 10 (version 2004 or later, build 19041+)
- Windows 11
Run the following command in PowerShell (as Administrator):
- Enable WSL
wsl --install -d <Distribution Name>
👉 We recommend using Ubuntu-22.04 for the best experience. (You can also choose a different distribution if needed.)
- Install Keploy Binary Inside your WSL terminal, run:
curl --silent -O -L https://keploy.io/install.sh && source install.sh
- Verify Installation
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
Install Keploy with Docker on Windows
-
Make sure Docker is installed : You’ll need Docker Desktop running on Windows.
-
Install Keploy
curl --silent -O -L https://keploy.io/install.sh && source install.sh
- Verify the installation
Once done, you should see something like this:
🐰 Keploy: 2026-05-05T08:23:30.09586779Z INFO Starting Keploy {"version": "3.4.1", "buildSource": "unknown", "apiServerURL": "https://api.keploy.io", "inDocker": false}
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
Keploy: 3.4.1
Keploy CLI
Usage:
keploy [command]
Available Commands:
agent starts keploy agent for hooking and starting proxy
cloud Manage cloud operations
config manage keploy configuration file
console manage keploy console file
contract Manage keploy contracts
create-branch Create a new branch on a Keploy app
create-test-suite Validate a test suite spec from JSON and insert it via api-server
debug Debug and reproduce Keploy failures locally
dedup manage keploy dedup file
diff compare two keploy test runs and print regressions/fixes
example Example to record and test via keploy
export export Keploy tests as postman collection
import import postman collection to Keploy tests
list-branches List branches on a Keploy app
login Authenticate with your Keploy account
logout Sign out of your Keploy account
mock Managing mocks
normalize Normalize Keploy
record record end to end api-calls
report report the keploy test results from the API calls
sanitize sanitize the keploy testcases to remove the sensitive data
templatize templatize the keploy testcases
test run the recorded testcases and execute assertions
test-gen AI agent-based API test generation — run, coverage, init
test-suite Run keploy test suites
test-suite-format Print the canonical test-suite step schema
ui Manage UI flow capture, testing, and reporting
update update keploy to latest version
update-test-suite Validate edits to a test suite and snapshot-replace it via api-server
Flags:
--config-path string Path to the local directory where keploy configuration file is stored (default ".")
--debug Run in debug mode
--disable-ansi Disable ANSI color in logs
-h, --help help for keploy
--json Print output in JSON format
--manual-login Use manual login prompt instead of opening browser
-v, --version version for keploy
Guided Commands:
help Help about any command
Examples:
Record:
keploy record -c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --container-name "<containerName>" --buildDelay 60
Test:
keploy test --c "docker run -p 8080:8080 --name <containerName> --network keploy-network <applicationImage>" --delay 10 --buildDelay 60
Config:
keploy config --generate -p "/path/to/localdir"
Use "keploy [command] --help" for more information about a command.
2. Log in to Keploy
After installing, authenticate with your Keploy account. Choose the method that fits your setup:
- Browser Login (Default)
- Manual Login
- API Key (CI/CD)
Keploy opens a browser window to sign you in automatically:
keploy login
Opening browser for authentication...
If the browser does not open automatically, please visit:
https://app.keploy.io/signin/integration/auth?method=code&code=<YOUR_CODE>
Waiting for authentication...
Logged in successfully!
If a browser cannot open (for example in a remote terminal):
keploy login --manual-login
When prompted, enter your Keploy API key. To get your API key:
- Log in to app.keploy.io
- Click on your user profile at the bottom left
- Go to Account Settings
- In the sidebar, select API Keys
- Click Generate new token
- Fill in the details:
- Token name — give it a recognizable name
- Scopes — select the access level you need:
- Read — read-only access to resources
- Write — read and write access
- Admin — full administrative access
- Expiration — default is 90 days
- Click Generate token
- Copy the token immediately — it will not be shown again
Once your API key is verified, you will see:
API key verified successfully!
You are on the Keploy Community plan.
For CI/CD environments, authenticate using an API key:
keploy login --api-key <YOUR_API_KEY>
You can also set it as an environment variable:
export KEPLOY_API_KEY=<YOUR_API_KEY>
How to get your API key
- Log in to app.keploy.io
- Click on your user profile at the bottom left
- Go to Account Settings
- In the sidebar, select API Keys
- Click Generate new token
- Fill in the details:
- Token name — give it a recognizable name
- Scopes — select the access level you need:
- Read — read-only access to resources
- Write — read and write access
- Admin — full administrative access
- Expiration — default is 90 days
- Click Generate token
- Copy the token immediately — it will not be shown again
Once your API key is verified, you will see:
API key verified successfully!
You are on the Keploy Community plan.
Now you can start using Keploy to record API calls and replay them as sandboxes for testing your application.
To explore what's available at each tier, visit keploy.io/pricing.
🎉 Congratulations!
- Linux
- macOS
- Windows
- Native
- Docker
You’ve successfully installed Keploy on Linux.
🎬 Start Capturing Test Cases
- Go
- Node.js
- Java
- Python
Record the test cases
keploy record -c "go run main.go"
Run the test cases
keploy test -c "go run main.go" --delay 10
Record the test cases
keploy record -c "npm start"
Run the test cases
keploy test -c "npm start" --delay 10
Record the test cases
keploy record -c "mvn spring-boot:run"
Run the test cases
keploy test -c "mvn spring-boot:run" --delay 10
Record the test cases
keploy record -c "python app.py"
Run the test cases
keploy test -c "python app.py" --delay 10
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
You’ve successfully set up Keploy on Linux using Docker.
🎬 Start Capturing Test Cases
- Docker
- Docker Compose
Record the test cases
keploy record -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 10
Run the test cases
keploy test -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 20
Record the test cases
keploy record -c "docker compose up" --container-name <containerName> --build-delay 100
Run the test cases
keploy test -c "docker compose up" --container-name <containerName> --build-delay 50 --delay 20
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
- Lima
- Docker
You’ve successfully set up Keploy on macOS using Lima.
🎬 Start Capturing Test Cases
- Go
- Node.js
- Java
- Python
Record the test cases
keploy record -c "go run main.go"
Run the test cases
keploy test -c "go run main.go" --delay 10
Record the test cases
keploy record -c "npm start"
Run the test cases
keploy test -c "npm start" --delay 10
Record the test cases
keploy record -c "mvn spring-boot:run"
Run the test cases
keploy test -c "mvn spring-boot:run" --delay 10
Record the test cases
keploy record -c "python app.py"
Run the test cases
keploy test -c "python app.py" --delay 10
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
You’ve successfully set up Keploy on macOS using Docker.
🎬 Start Capturing Test Cases
- Docker
- Docker Compose
Record the test cases
keploy record -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 10
Run the test cases
keploy test -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 20
Record the test cases
keploy record -c "docker compose up" --container-name <containerName> --build-delay 100
Run the test cases
keploy test -c "docker compose up" --container-name <containerName> --build-delay 50 --delay 20
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
- Native
- WSL
- Docker
You’ve successfully installed Keploy on Windows.
🎬 Start Capturing Test Cases
- Go
- Node.js
- Java
- Python
Record the test cases
keploy record -c "go run main.go"
Run the test cases
keploy test -c "go run main.go" --delay 10
Record the test cases
keploy record -c "npm start"
Run the test cases
keploy test -c "npm start" --delay 10
Record the test cases
keploy record -c "mvn spring-boot:run"
Run the test cases
keploy test -c "mvn spring-boot:run" --delay 10
Record the test cases
keploy record -c "python app.py"
Run the test cases
keploy test -c "python app.py" --delay 10
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
You’ve successfully set up Keploy on Windows using WSL.
🎬 Start Capturing Test Cases
- Go
- Node.js
- Java
- Python
Record the test cases
keploy record -c "go run main.go"
Run the test cases
keploy test -c "go run main.go" --delay 10
Record the test cases
keploy record -c "npm start"
Run the test cases
keploy test -c "npm start" --delay 10
Record the test cases
keploy record -c "mvn spring-boot:run"
Run the test cases
keploy test -c "mvn spring-boot:run" --delay 10
Record the test cases
keploy record -c "python app.py"
Run the test cases
keploy test -c "python app.py" --delay 10
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.
You’ve successfully set up Keploy on Windows using Docker.
🎬 Start Capturing Test Cases
- Docker
- Docker Compose
Record the test cases
keploy record -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 10
Run the test cases
keploy test -c "docker run -p <appPort>:<hostPort> --name <containerName> --network keploy-network --rm <applicationImage>" --containerName "<containerName>" --delay 20
Record the test cases
keploy record -c "docker compose up" --container-name <containerName> --build-delay 100
Run the test cases
keploy test -c "docker compose up" --container-name <containerName> --build-delay 50 --delay 20
📖 What’s Next?
Now, take it further by following the Quickstart Guide and see Keploy in action with your app.