{"id":16417866,"url":"https://github.com/taranjeet/mac-setup","last_synced_at":"2026-02-17T21:34:09.408Z","repository":{"id":73761329,"uuid":"139326416","full_name":"taranjeet/mac-setup","owner":"taranjeet","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-08T18:24:13.000Z","size":109,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T11:26:47.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taranjeet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-01T12:14:59.000Z","updated_at":"2021-10-08T18:24:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e92577b-08b1-4882-903f-1a818f61ed38","html_url":"https://github.com/taranjeet/mac-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taranjeet/mac-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taranjeet%2Fmac-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taranjeet%2Fmac-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taranjeet%2Fmac-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taranjeet%2Fmac-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taranjeet","download_url":"https://codeload.github.com/taranjeet/mac-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taranjeet%2Fmac-setup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262914179,"owners_count":23383845,"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":[],"created_at":"2024-10-11T07:12:30.646Z","updated_at":"2025-10-20T05:13:33.570Z","avatar_url":"https://github.com/taranjeet.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# mac-setup\n\n## System Preferences\n\n#### Trackpad\n\n* Point \u0026 Click\n\n  * Look up \u0026 data detectors with *Tap with three fingers*\n  * Tap to click with *Tap with one finger*\n  * Tracking Speed to *Fast*\n\n#### Dock\n\n* Check *Automatically hide and show the Dock*\n* Change Dock Size settings to Small\n\n#### Display\n\n* Turn off True Tone settings.\n\n* Night Shift\n\n * Check *Custom* and set the timings. Change Color Temperature to *More Warm*\n\n#### Users \u0026 Groups\n\n* Disable Guest Login\n\n#### Finder\n\n* View\n  * Switch to *as Columns*\n  * Switch to *Sort by* as *Name*\n  \n * Add Home folder in Sidebar\n  * Open Finder, Press *Command + Shift + H*, then *Command + Up Arrow* and then drag and drop Home folder to side bar.\n \n * Remove *All My Files* and *Recents* from sidebar by right clicking and selecting *Remove from Sidebar*.\n * Under *Finder Preferences \u003e General* select *New Finder windows show:* option to *Home directory name*\n * Under *Finder Preferences \u003e Advanced*, select *When performing a search:* option to *Search the Current Folder*\n  \n#### Menubar\n\n* Change battery to display percentage\n* Hide *Bluetooth* and *Display* icon in the menubar.\n\n#### Mission Control\n\n* Uncheck *Automatically rearrange Spaces based on most recent use*\n\n#### Keyboard\n\n* Keyboard\n    * Set *Key Repeat* to *Fast*\n    * Set *Delay Until Repeat* to *Short* \n\n* Text\n    * Uncheck *Add full stop with double-space* under *Text* section.\n\n#### Spotlight\n\n* Uncheck *fonts*, *images*\n\n## Packages\n\n### Xcode\n\n```\nxcode-select --install\n```\n\n### Brew\n\n```\n/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n```\n\n### Vim\n\n```\nbrew install vim\n```\n\n### Generate ssh key\n\n```\nssh key-gen\ncat .ssh/id_rsa.pub\n```\n\n### Git\n\n```\nbrew install git\n```\n\n### Iterm2\n\nDownload and install iterm2 from [here](https://www.iterm2.com/downloads.html)\n\n#### Iterm2 Preferences\n\n* Profiles\n\n    * General\n\n        * Check *Reuse previous session directory* under *Working Directory*\n\n    * Terminal\n        * Check Unlimited Scrollback\n\n    * Text\n        * Set *Cursor* style to *underline*\n        * Check *Blinking cursor*\n        * Update font size to 14pt\n\n    * Keys\n       * Follow this [link](https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x) to jump words backward/forward.\n\n\n\n### Oh My Zsh\n\n```\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)\"\n```\n\n### Setup Dotfiles\n\nSetup dotfiles from this [repo](https://github.com/taranjeet/dotfiles)\n\n```\ngit clone https://github.com/taranjeet/dotfiles.git ~/.dotfiles\n```\n\n### Update Zsh Preferences\n\n```\ncp ~/.dotfiles/.gitconfig ~\n\n# edit zsh config\nvim ~/.zshrc\nfor file in ~/.dotfiles/.{aliases,functions}; do\n    [ -r \"$file\" ] \u0026\u0026 source \"$file\"\ndone\nunset file\n\nexport LC_ALL=en_US.UTF-8\nexport LANG=en_US.UTF-8\n\n# maintain history per tab level\nunsetopt inc_append_history\nunsetopt share_history\n```\n\n### Sublime\n\nDownload Sublime 3 from [here](https://www.sublimetext.com/3). Setup `subl` alias to open Sublime from command line\n\n```\nln -s \"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl\" /usr/local/bin/subl\n```\n\n* Install Package Control from [here](https://packagecontrol.io/installation)\n* Install [Dracula Color Theme](https://draculatheme.com/sublime/) using Package Control\n* Keep the icon for Sublime in Dock by right clicking on the running application, then selecting *Options* and then *Keep in Dock*.\n* Change Sublime Color Scheme by *Sublime Text \u003e Preferences \u003e Settings* and then selecting *Dracula* as the option.\n* Install sublime packages from [dotfiles](https://github.com/taranjeet/dotfiles) repo.\n* Configure Babel to open jsx file as babel intrepreted by following this [link](https://github.com/babel/babel-sublime#setting-as-the-default-syntax)\n\n\n### Visual Studio Code\n\n```\nbrew install --cask visual-studio-code\n```\n\n\n### Bash Completion\n\nInstall bash completion by running\n\n```\nbrew install bash-completion\n\n# add following to .bash_profile or .zshrc\n[[ -r \"/opt/homebrew/etc/profile.d/bash_completion.sh\" ]] \u0026\u0026 . \"/opt/homebrew/etc/profile.d/bash_completion.sh\"\n```\n\n\n### Python\n\n```\n# python3 is by default installed\n\npip3 install virtualenv pylint autopep8\n```\n\n### Youtube dl\n\n```\nbrew install youtube-dl\n```\n\n### Flycut\n\nInstall flycut by running\n\n```sh\nbrew install --cask flycut\n```\n\n* Update Flycut Preferences as\n    * Check *Launch Flycut on login*\n    * Check *Sticky Bezel*\n\n### Htop\n\n```\nbrew install htop\n```\n\n### Wget\n\n```\nbrew install wget --with-libressl\n```\n\n### Tree\n\n```\nbrew install tree\n```\n\n### Install Asana, Notion, Spotify, Vlc, Zoom, MonitorControl\n\n```\nbrew install --cask asana notion spotify vlc zoom monitorcontrol\n```\n\n### Install Heroku\n\n```\nbrew tap heroku/brew \u0026\u0026 brew install heroku\n```\n\n\n\n### Custom folders\n\n```\nmkdir ~/myapps\n```\n\n### Mysql\n\n* Follow [this post](https://gist.github.com/wpconsulate/40469bfdafad9fdd0afc3e260a5586a7) to install Mysql 5.7\n\n### Chromedriver\n\n* Install by running\n\n```\nbrew install --cask chromedriver\n```\n\n* Follow [this post](https://stackoverflow.com/questions/60362018/macos-catalinav-10-15-3-error-chromedriver-cannot-be-opened-because-the-de) to give appropriate permissions.\n\n### MTMR\n\nDownload MTMR from [here](https://github.com/Toxblh/MTMR) and use the following preferences\n\n```\n[\n    {\n        \"type\": \"escape\",\n        \"width\": 64,\n        \"align\": \"left\"\n    },\n    { \"type\": \"brightnessDown\", \"width\": 56, \"bordered\": true, \"align\": \"left\" },\n    { \"type\": \"brightnessUp\", \"width\": 56, \"bordered\": true, \"align\": \"left\" },\n    {\n        \"type\": \"nightShift\",\n        \"width\": 36,\n        \"align\": \"left\"\n    },\n    {\n        \"type\": \"appleScriptTitledButton\",\n        \"source\": {\n            \"inline\": \"if application \\\"Spotify\\\" is running then\\rtell application \\\"Spotify\\\"\\rif player state is playing then\\rreturn (get artist of current track) \u0026 \\\" – \\\" \u0026 (get name of current track)\\relse\\rreturn \\\"\\\"\\rend if\\rend tell\\rend if\\rreturn \\\"\\\"\\r\"\n        },\n        \"action\": \"appleScript\",\n        \"actionAppleScript\": {\n            \"inline\": \"if application \\\"Spotify\\\" is running then\\rtell application \\\"Spotify\\\"\\rif player state is playing then\\rnext track\\rend if\\rend tell\\rend if\\r\"\n        },\n        \"refreshInterval\": 1,\n        \"image\": {\n            \"base64\": \"iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTB3WXx3UXh3VXx7XYBkXFRpVLRyURmIaeAQAAAAEdFJOUwDDO3fSqUUkAAABbklEQVRIx61VbW6DMAztoAeYNA7ApB6gkzhAWS24wIAL0HABaK6/pHFNEhy8TXu/kPzkPD/8cTj8K7KPAqB+K5NhQPCUrABCXe7HOUYYZxgVRLiG8RfY4DUgFFtC7cffAfZTFBwBdhWEKfgEq4ocEjgj4ZQifO6/QG9kkETp1dDeVWfRKx3XYSW0LoqY5kCElXDrQkyeCCuh6WL0M4nIWQIyzqixdfKU1koFDKvyCA8NJMzU4xiD+b4kfHRpsIyKc6hBwjVptFHVY51EMAINNDFGJITKDNQcdpX74Hz0CQ3rY5qwMp4EIxrlafzrsYZ2Veb0DkRgfNCUok4Y1fqEijfyi2b8RE9beWqa48Y/uvCNMcH9btfUi+/CGLR1vhL6Zz9N/vBlaCU+7lwY/cmJ67Ryen/2tj23PLqJBodZH8vgj544vOL4pxfI5acrSFxi8hrkU9TSKr78ZpnL50A8KPJJEo+afBblwyqf5j/iGys5j6ScrST2AAAAAElFTkSuQmCC\"\n        }\n    },\n    {\n        \"type\": \"previous\",\n        \"width\": 56,\n        \"align\": \"right\"\n    },\n    {\n        \"type\": \"next\",\n        \"width\": 56,\n        \"align\": \"right\"\n    },\n    \n    {\n        \"type\": \"play\",\n        \"align\": \"right\",\n        \"width\": 56\n    },\n    {\n        \"type\": \"mute\",\n        \"width\": 56,\n        \"align\": \"right\",\n        \"bordered\": true\n    },\n    {\n        \"type\": \"volume\",\n        \"width\": 130,\n        \"align\": \"right\"\n    },\n    {\n        \"type\": \"timeButton\",\n        \"formatTemplate\": \"HH:mm\",\n        \"align\": \"right\",\n        \"bordered\": false,\n        \"longAction\": \"shellScript\",\n        \"longExecutablePath\": \"/usr/bin/pmset\",\n        \"longShellArguments\": [\"sleepnow\"]\n    },\n    {\n        \"type\": \"exitTouchbar\",\n        \"width\": 56,\n        \"align\": \"right\"\n    },\n]\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eOld Config and Packages\u003c/summary\u003e\n  \n### Evernote\n\nDownload evernote from this [link](https://evernote.com/download)\n \n### Java\n\nDownload jdk 8 from this [link](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) after accepting the Agreement Terms. Open dmg and follow through the setup process. Check if java is installed properly by running\n\n```\njava -version\n```\n\n### Elasticsearch\n\nDownload tar file of required version of elasticsearch from [here](https://www.elastic.co/downloads/elasticsearch). When writing this doc, the latest version is *6.3*. Move the tar to `binaries` folder and extract it.\n\n```\nmv ~/Downloads/elasticsearch-6.3.1.tar.gz ~/binaries\ntar -xvzf elasticsearch-6.3.1.tar.gz\n\n# to run\n./bin/elasticsearch\n```\n\n#### Update Elasticsearch preferences\n\nIn `config/elasticsearch.yml`, update `cluster.name` to a custom value.\n\nIn `config/jvm.options`, remove `-Xms1g` and `-Xmx1g`, and add the following\n\n```\n-Xms500m\n-Xmx500m\n```\n\n### Kibana\n\nDownload the tar file of required version(latest 6.3) from [here](https://www.elastic.co/downloads/kibana). Move the tar to `binaries` folder and extract it.\n\n```\nmv Downloads/kibana-6.3.1-darwin-x86_64.tar.gz binaries/\ntar -xvzf kibana-6.3.1-darwin-x86_64.tar.gz\n```\n\n### Node.js\n\n```\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash\nsource ~/.zshrc\nnvm install v8.9\n``` \n\n### Custom Python packages\n\n```\npip install grip\n```\n\n### Custom Npm packages\n\n```\nnpm install -g create-react-app\n```\n \n ### Iterm\n \n*  Follow the above link only and now add sequence to jump to start/end of line.\n\n\n| Shortcut | Action               | Esc+ |\n|:--------:|:--------------------:|:----:|\n| ⌘←\t      | Send Escape Sequence | OH   |\n| ⌘→\t\t     | Send Escape Sequence | OF   |\n\u003c/details\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaranjeet%2Fmac-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaranjeet%2Fmac-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaranjeet%2Fmac-setup/lists"}