Skip to main content
Enterprise
OSS

Install Keploy

Keploy captures real API calls and database interactions, then helps you replay them as tests without rebuilding your full production environment.

Choose your setup path

info

Use this if you want the fastest setup, browser-based sign-in, and access to Keploy's Enterprise capabilities.

Keploy Enterprise CLI

Know More

This is the preferred way to install and use Keploy.

With this setup:

  • you install the recommended Keploy binary
  • you start using Keploy immediately
  • if authentication is required, Keploy opens a browser and signs you in automatically
  • once the flow is complete, Keploy is ready to use for record and test

How authentication works

When you run a command like:

  • keploy record
  • keploy test

and you are not already signed in, Keploy will:

  1. open a browser window
  2. ask you to sign in
  3. return you to the CLI automatically

Follow the step below to install the Keploy Enterprise Agent:

curl --silent -O -L https://keploy.io/ent/install.sh && source install.sh

Record Your First Test

Once Keploy is installed, run your application through Keploy. This captures your real API calls and database interactions.

keploy record -c "YOUR_START_COMMAND"

Example: keploy record -c "npm start" or keploy record -c "go run main.go"

If you are not authenticated yet, the recommended CLI will automatically open the browser login flow and continue after sign-in.

Replay and Verify

After recording is complete, stop your app and run:

keploy test -c "YOUR_START_COMMAND" --delay 10

Keploy will replay the captured traffic so you can run your tests without depending on the original database or external services.

Automatic Cloud / Sandbox Behavior

Cloud backup and sandbox sync will be documented here very soon, once the rollout is live.

Know More

Use the recommended Keploy Enterprise CLI if you want:

  • the easiest install experience
  • built-in browser-based authentication
  • less manual setup
  • access to Enterprise Keploy capabilities
  • a smoother path for integrations and team workflows

Which path should I choose?

info

The Open Source version is best for HTTP / REST protocol.

If you need support for gRPC, Redis, GraphQL, webhooks, and advanced integration workflows, use the Enterprise version.

For broader framework and protocol support, we recommend installing Keploy Enterprise.

Feature Comparison

FeatureOpen SourceEnterprise
Dependencies
HTTPYesYes
MySQLYesYes
gRPC OutgoingNoYes
MongoNoYes
PostgresNoYes
RedisNoYes
SQSNoYes
KafkaNoYes
HTTP2NoYes
Incoming Tests
HTTPYesYes
gRPC IncomingYesYes
Extra Features
Mock UploadNoYes
Time FreezingNoYes
Deduplication (Static + Codepath)NoYes
Sandboxing for Existing E2E / Integration TestsNoYes

Setup: Open-source

Choose your OS to get started 🚀


info

Make sure your Linux kernel version is 5.10 or higher.

👉 Choose your preferred method:


1. Install Keploy

curl --silent -O -L https://keploy.io/install.sh && source install.sh

2. Once done, You should see something like this:

   ▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌


Keploy CLI

Available Commands:
example Example to record and test via keploy
config --generate generate the keploy configuration file
record record the keploy testcases from the API calls
test run the recorded testcases and execute assertions
update Update Keploy

Flags:
--debug Run in debug mode
-h, --help help for keploy
-v, --version version for keploy

Use "keploy [command] --help" for more information about a command.

🎉 Congratulations!

You’ve successfully installed Keploy on Linux.

🎬 Start Capturing Test Cases


Record the test cases

keploy record -c "go run main.go"

Run the test cases

keploy test -c "go run main.go" --delay 10

📖 What’s Next?

Now, take it further by following the Quickstart Guide and see Keploy in action with your app.