Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yatish27/omakos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Omakos Icon

Omakos

Omakos turns your macOS laptop into a fully functional development machine in a single command. A shell script to setup a new mac.

Omakos is inspired by Basecamp's Omakub project. The name is a combination of "omakase" (γŠδ»»γ›, Japanese for "I leave it up to you") and "macOS", reflecting its purpose of providing a curated development environment setup for macOS.

It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on what is already installed on the machine.

screenshot

Install

You can install Omakos using one of these two methods:

Option 1: Direct Install (Recommended)

Run this single command in your terminal:

curl -L https://raw.githubusercontent.com/yatish27/omakos/main/install.sh | bash

Option 2: Manual Install

If you prefer to review the code first:

  1. Download the repo:
git clone https://github.com/yatish27/omakos.git && cd omakos
  1. Review the scripts (please don't run scripts you don't understand):
less setup.sh
  1. Run the setup:
./setup.sh 2>&1 | tee ~/omakos.log

Just follow the prompts and you'll be fine. πŸ‘Œ

What it sets up

The setup process will install and configure the following tools and applications. All packages are managed through Homebrew and defined in configs/Brewfile.

Command Line Tools

  • XCode Command Line Tools for developer essentials
  • Git for version control
  • Homebrew for managing operating system libraries
  • ZSH with Oh My Zsh for a better shell experience
  • coreutils for GNU file, shell and text manipulation utilities
  • curl and wget for downloading files
  • fzf for command-line fuzzy finding
  • jq for JSON processing
  • btop for system resource monitoring
  • fastfetch for system information display
  • ffmpeg for video processing
  • gh for GitHub CLI integration
  • libyaml for YAML parsing

Development Environment

  • Cursor - AI-powered code editor
  • Neovim with LazyVim - Modern Vim-based editor
  • Zed - High-performance code editor
  • Ghostty - Modern terminal emulator
  • Docker for containerization
  • OrbStack for Docker and Linux development on macOS
  • PostgreSQL 17 with libpq for database management
  • Redis for in-memory data store
  • jemalloc for memory allocation
  • vips for image processing (automatically installs configured runtimes if ~/.mise.toml exists)
  • Ollama for local AI models
  • Overmind for process management
  • Mise for runtime version management. The Mise configuration is present in mise.toml. It installs
    • Python
    • Ruby
    • Rust
    • Go
    • Node
  • UV for Python packaging
  • pnpm for Node.js package management

Productivity & Communication

Fonts

  • Cascadia Code
  • Cascadia Mono
  • Commit Mono
  • DM Sans
  • Fira Code
  • Geist
  • Geist Mono
  • Google Sans Code
  • Hack
  • IBM Plex Mono
  • IBM Plex Sans
  • Work Sans

Enhanced macOS Settings

The setup applies developer-optimized macOS configurations including:

  • Performance: Near-instant window animations and faster Mission Control
  • Finder: Opens to home directory, searches current folder by default, shows hidden files
  • Text Editing: Key repeat enabled in all apps, faster cursor movement
  • Screenshots: Organized in ~/Desktop/Screenshots/ folder without shadows
  • Trackpad: Three-finger drag enabled for better window management
  • Keyboard: Fastest repeat rates for efficient coding
  • System: Disabled automatic corrections, expanded dialogs, local saves by default

Features

Modular Scripts

Each script in the scripts/ directory can be run independently:

# Run individual scripts
./scripts/mac.sh       # Only configure macOS settings
./scripts/git.sh       # Only setup Git configuration
./scripts/cursor.sh    # Only configure Cursor editor
./scripts/nvim.sh      # Only configure Neovim with LazyVim
./scripts/zed.sh       # Only configure Zed editor
./scripts/mise.sh      # Only setup mise and install configured runtimes
./scripts/rubocop.sh   # Only setup Rubocop configuration
./scripts/gemrc.sh     # Only setup Gem configuration
./scripts/irbrc.sh     # Only setup IRB configuration
./scripts/zshrc.sh     # Only setup Zsh configuration
./scripts/ssh.sh       # Only configure SSH settings

The scripts are designed to be:

  • Independent: Each script can run on its own
  • Idempotent: Safe to run multiple times
  • Configurable: Easy to modify for your needs

Code Structure

The project follows a modular structure where each component is responsible for a specific setup task. You can run any script individually if you only want to set up specific parts of your system.

omakos/
β”œβ”€β”€ setup.sh                 # Main setup script
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ ascii.sh            # ASCII art for terminal output
β”‚   β”œβ”€β”€ brew.sh             # Homebrew package installation
β”‚   β”œβ”€β”€ cursor.sh           # Cursor editor configuration
β”‚   β”œβ”€β”€ gemrc.sh            # Gem configuration
β”‚   β”œβ”€β”€ ghostty.sh          # Ghostty terminal configuration
β”‚   β”œβ”€β”€ git.sh              # Git configuration
β”‚   β”œβ”€β”€ irbrc.sh            # IRB configuration
β”‚   β”œβ”€β”€ mac.sh              # macOS system preferences
β”‚   β”œβ”€β”€ mise.sh             # Mise runtime manager setup
β”‚   β”œβ”€β”€ nvim.sh             # Neovim configuration
β”‚   β”œβ”€β”€ rubocop.sh          # Rubocop configuration
β”‚   β”œβ”€β”€ ssh.sh              # SSH configuration
β”‚   β”œβ”€β”€ utils.sh            # Utility functions
β”‚   β”œβ”€β”€ zed.sh              # Zed editor configuration
β”‚   β”œβ”€β”€ zsh.sh              # ZSH shell setup
β”‚   └── zshrc.sh            # Zshrc configuration
β”œβ”€β”€ configs/
β”‚   β”œβ”€β”€ Brewfile            # Homebrew packages list
β”‚   β”œβ”€β”€ cursor/             # Cursor editor settings
β”‚   β”œβ”€β”€ git/                # Git configuration files
β”‚   β”œβ”€β”€ nvim/               # Neovim configuration with LazyVim
β”‚   β”œβ”€β”€ ssh/                # SSH configuration files
β”‚   β”œβ”€β”€ zed/                # Zed editor settings
β”‚   β”œβ”€β”€ gemrc              # Ruby gems configuration
β”‚   β”œβ”€β”€ ghostty.conf       # Ghostty terminal config
β”‚   β”œβ”€β”€ irbrc              # IRB (Interactive Ruby) configuration
β”‚   β”œβ”€β”€ mise.toml          # Mise runtime versions config
β”‚   β”œβ”€β”€ rubocop.yml        # Ruby code style config
β”‚   └── zshrc              # Zsh shell configuration
└── README.md

Configuration Files

The configs/ directory contains all config files.

Customization

The script is designed to be customizable. You can:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Inspiration and code was taken from many sources, including: