Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mac-linux.md #476

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions versioned_docs/version-2.0.0/keploy-explained/mac-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,28 @@ sidebar_label: Keploy on MacOS native
### Downloading and running Keploy in Native using Debian on MacOS

1. Open the terminal Session.
2. Run the following command
2. Run the following command. This installs homebrew and makes it easier to manage software and packages on macOS

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

3. Now, with the help of homebrew, we would install Lima (Linux Virtual Machine) by running this command.

```bash
brew install lima
```

4. Paste this command next.

```bash
limactl show-ssh --format=config debian-12 & add it to its ssh config
```

3. Open a remote window on your code editor
4. Click on connect to host
5. Now select the configured SSH as "lima-debian"
6. Once you are in the terminal run the following commands to go into your directory
5. Open a remote window on your code editor
6. Click on connect to host
7. Now select the configured SSH as "lima-debian"
8. Once you are in the terminal run the following commands to go into your directory

```bash
cd /Users
Expand All @@ -28,36 +40,36 @@ cd /Users
cd /{Username}
```

7. Run the following command to install Keploy
9. Run the following command to install Keploy

```bash
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
```

8. Run the following command to install Zsh
10. Run the following command to install Zsh

```bash
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.

9. Install Git
11. Install Git

```bash
sudo apt-get -y install git
```

10. Install 'Oh-my-zsh'
12. Install 'Oh-my-zsh'

```bash
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.

11. Commands to Install docker
13. Commands to Install docker

```bash
sudo apt-get -y update
Expand Down Expand Up @@ -98,7 +110,7 @@ sudo apt-get -y update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```

12. Add docker to sudoers
14. Add docker to sudoers

```bash
sudo groupadd docker
Expand Down