{"id":14128668,"url":"https://github.com/mechboxes/mech","last_synced_at":"2025-04-05T00:07:43.893Z","repository":{"id":35409568,"uuid":"39674175","full_name":"mechboxes/mech","owner":"mechboxes","description":"Easy command line virtual machines for VMWare","archived":false,"fork":false,"pushed_at":"2022-12-14T05:21:26.000Z","size":411,"stargazers_count":312,"open_issues_count":26,"forks_count":49,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-28T23:05:49.207Z","etag":null,"topics":["cli","python","vagrant","vmware"],"latest_commit_sha":null,"homepage":"https://mechboxes.github.io/mech/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mechboxes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-25T05:51:44.000Z","updated_at":"2025-01-20T19:33:09.000Z","dependencies_parsed_at":"2023-01-15T20:27:49.619Z","dependency_job_id":null,"html_url":"https://github.com/mechboxes/mech","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechboxes%2Fmech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechboxes%2Fmech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechboxes%2Fmech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechboxes%2Fmech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mechboxes","download_url":"https://codeload.github.com/mechboxes/mech/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266563,"owners_count":20910836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","python","vagrant","vmware"],"created_at":"2024-08-15T16:02:01.548Z","updated_at":"2025-04-05T00:07:43.868Z","avatar_url":"https://github.com/mechboxes.png","language":"Python","readme":"# mech\n\nI made this because I don't like VirtualBox and I wanted to use vagrant\nwith VMWare Fusion but was too cheap to buy the Vagrant plugin.\n\nhttps://blog.kchung.co/mech-vagrant-with-vmware-integration-for-free/\n\nUsage is pretty straightforward:\n\n```\nUsage: mech [options] \u003ccommand\u003e [\u003cargs\u003e...]\n\nOptions:\n    -v, --version                    Print the version and exit.\n    -h, --help                       Print this help.\n    --debug                          Show debug messages.\n\nCommon commands:\n    (list|ls)         lists all available boxes\n    init              initializes a new Mech environment by creating a Mechfile\n    destroy           stops and deletes all traces of the Mech machine\n    (up|start)        starts and provisions the Mech environment\n    (down|stop|halt)  stops the Mech machine\n    suspend           suspends the machine\n    pause             pauses the Mech machine\n    ssh               connects to machine via SSH\n    ssh-config        outputs OpenSSH valid configuration to connect to the machine\n    scp               copies files to and from the machine via SCP\n    ip                outputs ip of the Mech machine\n    box               manages boxes: installation, removal, etc.\n    global-status     outputs status Mech environments for this user\n    status            outputs status of the Mech machine\n    ps                list running processes in Guest OS\n    provision         provisions the Mech machine\n    reload            restarts Mech machine, loads new Mechfile configuration\n    resume            resume a paused/suspended Mech machine\n    snapshot          manages snapshots: saving, restoring, etc.\n    port              displays information about guest port mappings\n    push              deploys code in this environment to a configured destination\n\nFor help on any individual command run `mech \u003ccommand\u003e -h`\n\nExample:\n\nInitializing and using a machine from HashiCorp's Vagrant Cloud:\n\n    mech init bento/ubuntu-14.04\n    mech up\n    mech ssh\n```\n\n`mech init` can be used to pull a box file which will be installed and\ngenerate a Mechfile in the current directory. You can also pull boxes\nfrom Vagrant Cloud with `mech init freebsd/FreeBSD-11.1-RELEASE`.\nBarring that, `mech up \u003cname\u003e` can also be used to specify a vmx file\nto start.\n\n# Install\n\n`pip install -U mech`\n\nor for the latest:\n\n`pip install -U git+https://github.com/mechboxes/mech.git`\n\n# Shared Folders\n\nIf the box you init was created properly, you will be able to access\nthe host's current working directory in `/mnt/hgfs/mech`. If you are\nhaving trouble try running:\n\n```bash\nsudo apt-get update\nsudo apt-get install linux-headers-$(uname -r) open-vm-tools\n```\n\nfollowed by\n\n```bash\nsudo vmware-config-tools.pl\n```\n\nor\n\n```bash\nvmhgfs-fuse .host:/mech /mnt/hgfs\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechboxes%2Fmech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmechboxes%2Fmech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechboxes%2Fmech/lists"}