{"id":21703913,"url":"https://github.com/shinokada/macgnu","last_synced_at":"2025-04-12T15:13:28.284Z","repository":{"id":138587748,"uuid":"344048902","full_name":"shinokada/macgnu","owner":"shinokada","description":"Transform the macOS CLI into a fresh GNU/Linux CLI experience by installing missing GNU programs, updating outdated GNU programs, replacing pre-installed BSD programs with their preferred GNU implementation.","archived":false,"fork":false,"pushed_at":"2024-04-19T05:28:58.000Z","size":88,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T15:13:23.130Z","etag":null,"topics":["gnu","macos","zsh"],"latest_commit_sha":null,"homepage":"https://macgnu.codewithshin.com/","language":"CSS","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/shinokada.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-03T08:05:39.000Z","updated_at":"2024-05-07T08:53:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"d20c007a-01c3-4b49-b88b-3dd43b0c4a79","html_url":"https://github.com/shinokada/macgnu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinokada%2Fmacgnu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinokada%2Fmacgnu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinokada%2Fmacgnu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinokada%2Fmacgnu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinokada","download_url":"https://codeload.github.com/shinokada/macgnu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586244,"owners_count":21128998,"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":["gnu","macos","zsh"],"created_at":"2024-11-25T21:36:39.999Z","updated_at":"2025-04-12T15:13:28.262Z","avatar_url":"https://github.com/shinokada.png","language":"CSS","readme":"\u003cp align=\"center\"\u003e\n\u003ca href='https://ko-fi.com/Z8Z2CHALG' target='_blank'\u003e\u003cimg height='42' style='border:0px;height:42px;' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eMacGNU\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://macgnu.codewithshin.com/\"\u003eMacGNU\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://twitter.com/shinokada\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/badge/created%20by-@shinokada-4BBAAB.svg\" alt=\"Created by Shin Okada\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/github/license/shinokada/macgnu\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nMacgnu is a [linuxify](https://github.com/fabiomaia/linuxify) alternative.\n\nIf you want to linuxify your macOS core commands, but you may not want to install `libressl, file-formula, git, openssh, perl, python, rsync, unzip, vim` because you have already installed them. Then this is for you.\n\nThe macgnu is built on [linuxify](https://github.com/fabiomaia/linuxify):\n\nTransform the macOS CLI into a fresh GNU/Linux CLI experience by\n\n- installing missing GNU programs\n- updating outdated GNU programs\n- replacing pre-installed BSD programs with their preferred GNU implementation\n\nMacgnu :\n\n- won't install `libressl, file-formula, git, openssh, perl, python, rsync, unzip, vim`\n- won't ask if you want to change your shell to the latest bash.\n\n## Installing MacGNU with Awesome package manager\n\nAfter installing [Awesome package manager](https://github.com/shinokada/awesome):\n\n```sh\nawesome install shinokada/macgnu\n```\n\n## Install GNUs\n\n```bash\nmacgnu install\n```\n\nAfter installation, create `~/.macgnu` and copy [.macgnu](https://github.com/shinokada/macgnu/blob/main/.macgnu).\n\nAdd following to your terminal configuration `~/.zshrc` or `~/.bashrc`\n\n```zsh\n# ~/.zshrc\n. ~/.macgnu\n```\n\n```bash\n# ~/.bashrc\n. ~/.macgnu\n```\n\nIf you are using iTerm you may need to add following to `~/.bash_profile`:\n\n```bash\n. ~/.bashrc\n```\n\n## Uninstalling GNUs\n\n```sh\nmacgnu uninstall\n```\n\nRemove the following from `~/.zshrc` and `~/.bashrc`.\n\n```zsh\n. ~/.macgnu\n```\n\n## How to change to bash\n\nYou may want to change from ZSH to Bash and vice versa:\n\n```terminal\n# from ZSH to Bash\n$ which -a bash\n/usr/local/bin/bash\n/bin/bash\n$ chsh -s /usr/local/bin/bash\nChanging shell for shinokada.\nPassword for shinokada:\n# Open a new tab or restart your terminal\n$ which bash\n/usr/local/bin/bash\n```\n\n```terminal\n# from Bash to ZSH\n$ which -a zsh\n/bin/zsh\n$ chsh -s /bin/zsh\nChanging shell for shinokada.\nPassword for shinokada:\n# Open a new tab or restart your terminal\n```\n\n## List of packages installed\n\n### GNU programs non-existing in macOS\n\n- tree\n- watch\n- wget\n- wdiff\n- autoconf\n\n### GNU programs whose BSD counterpart is installed in macOS\n\n- coreutils\n- binutils\n- diffutils\n- ed\n- findutils\n- gawk\n- gnu-indent\n- gnu-sed\n- gnu-tar\n- gnu-which\n- grep\n- gzip\n- screen\n\n### GNU programs existing in macOS which are outdated\n\n- bash\n- emacs\n- gpatch\n- less\n- m4\n- make\n- nano\n- bison\n\n### BSD programs existing in macOS which are outdated\n\n- flex\n\n## License\n\nMIT License\n\nCopyright (c) 2021 Shinichi Okada\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","funding_links":["https://ko-fi.com/Z8Z2CHALG'"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinokada%2Fmacgnu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinokada%2Fmacgnu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinokada%2Fmacgnu/lists"}