Skip to main content
Version: 2.0.0

Running Keploy Natively on MacOS by setting up a linux env

Downloading and running Keploy in Native using Debian on MacOS

  1. Open the terminal Session.
  2. Run the following command. This installs homebrew and makes it easier to manage software and packages on macOS
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Now, with the help of homebrew, we would install Lima (Linux Virtual Machine) by running this command.
brew install lima
  1. Paste this command next.
limactl show-ssh --format=config debian-12 & add it to its ssh config
  1. Open a remote window on your code editor
  2. Click on connect to host
  3. Now select the configured SSH as "lima-debian"
  4. Once you are in the terminal run the following commands to go into your directory
cd /Users
cd /{Username}
  1. Run the following command to install Keploy
curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_arm64.tar.gz" | tar xz --overwrite -C /tmp
sudo mkdir -p /usr/local/bin && sudo mv /tmp/keploy /usr/local/bin/keploy
  1. Run the following command to install Zsh
sudo apt-get -y install zsh

Why? : zsh (Z Shell) is an advanced shell that offers enhanced features compared to the default bash shell. It provides better autocompletion, advanced globbing, improved history management, and more customization options.

  1. Install Git
sudo apt-get -y install git
  1. Install 'Oh-my-zsh'
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Why? : oh-my-zsh is a framework for managing your zsh configuration. It comes with a collection of plugins, themes, and helpful features that enhance the zsh experience.

  1. Commands to Install docker
sudo apt-get -y update
sudo apt-get -y install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get -y update
sudo apt-get -y update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
  1. Add docker to sudoers
sudo groupadd docker
sudo gpasswd -a $USER docker