惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

DEV Community

I love MJML — I just didn't want a whole templating engine for two tiny things Are we still in the Console Era of AI? Media Queries, Transitions, Positions, and Units (rem vs em) Explained Vibe Coding Will Destroy Your Software Engineering Career Your Payment API Wasn't Built for AI Agents. Open Banking Might Be the Fix. The Amazon Interview Process in 2026: Every Round Decoded (With Copy-Paste Scripts) Why Most Social Platforms Optimize Engagement Instead of Emotional Safety How to Build Your Own AI API Gateway (70x Cheaper Than GPT-4o) OpenBrief Review: Local-First Video AI Summarizer 2026 Announcing LightningChart JS Trader v.4.1 TensorCircuit-NG: Quantum Software On AI, For AI, With AI Open-Source Multi-Agent Orchestration: Lessons from AgentForge AI Agents in Practice — Part 3: How the Control Loop Actually Works Polymarket vs Kalshi: Who Actually Wins on Volume and Liquidity I Wired 8 MCP Servers Into One Claude Agent. 3 Pairs Quietly Fought Over the Same Tool Name. Twenty Minutes, Seventeen Organizations DNSControl + CoreDNS Container Example - Announcement Tech Talks Weekly #106 Umka Parental Control CI/CD for Side Projects: 3 Pragmatic Design Choices Why Agentic AI Is the Most Over-Hyped — and Under-Delivering — Trend of 2026 How teams can add a custom LineageLens adapter — a practical, code-free guide What Engineers Learn After Building Enterprise Chatbots That Actually Go Live The case for compiled, typed CSS (blame AI) Your Terraform estate documents itself now: meet iac-cartographer Vector‑native RAG on Oracle: embeddings, HNSW/IVF, and hybrid search under database governance I Stumbled Into a 40x Cost Reduction by Switching to Chinese AI Models China vs US AI Models in 2026: The Architecture Decision That Saves 40x Chinese AI Models Are 40x Cheaper Than GPT-4o — Here's the Proof ERC-8004 Agent Validation: Trustless Reputation for DeFi Bots Claude Managed Agents Outcomes: Auto-Grading Agent Work 5 URL Encoding Bugs That Silently Break Your App Which AI Tool Wins? Wrong Question. API Contract-Driven Development (Build Reliable Systems Without Guesswork) I built 'Ask Your Life' — a personal Coral agent that answers questions about your money & deadlines with SQL 5G RedCap for embedded IoT: useful 5G without full 5G complexity Building a Live Odds Dashboard in React (without the re-render storm) How to Build Token-Efficient Web Scraping Pipelines for AI Agents Using n8n PyLadies Dublin June Meetup The Dangerous Myth of the "10x Developer" (And Who You Actually Want) I Hardened a Rust Media Upload API with Magic Bytes, Atomic Quotas, and Race Condition Fixes (Part 3) The Moment We Realized the Language Was the Constraint in the Veltrix Treasure Hunt Engine ABAC and CASL with NestJS What If AI Fact-Checked Your Meetings in Real Time? Inside Meeting-Time AI Skills Don't Wrap the LLM. Make Its Failure Modes Unreachable. Building Autonomous DeFi Agents on Arbitrum: From Events to Execution The One Cache That Broke Our Treasure Hunt Engine Why your AI chat reconnects but your session doesn't Why I Built Tenurr: A Private Career Ledger and Document Vault for Engineers (And Solved "Career Amnesia") Rate Limiting in C# — Don't Let Your API Get Hammered I audited the 12 fastest-growing new GitHub repos for fake stars. Here's the base rate. I Stopped Treating AI Agents Like Toys After Hermes Agent Started Running My Entire Week SVG Keyframe Animation in Pure CSS (No Library) The Hidden Cost of Fake Invoices: $127,000 Lost Per Incident The Stream class in Dart Kubernetes HPA Scale to Zero Without KEDA: Native Autoscaling for Idle Workloads Building a Gaming Content Platform with Game Pages and News Articles Can Quantum Computing Change AI? A Deep Dive Into Quantum Machine Learning My PC setup as a Linux user Why Your Chart Library Is the Bottleneck You Never Suspected by Andrew Burnett-Thompson, CEO & Founder of SciChart i touched AWS and stuff didn't break (mostly) Using Google's New AI Command-Line Assistant: Antigravity CLI (agy) and YOLO's No-Confirmation Mode GCP: Upgrading a LINE Bot with Vertex AI ADK Tools for Smart Business Cards and Backup Search My Journey into Web3 Auditing Securing AI Generated Code: You Ship It, You Own It Optimizing Browser Fingerprint Spoofing and Session Validation in Automated Scrapers I Scanned a Vulnerable Kubernetes Cluster with 9 Engines — The AI Filter Caught Everything When the Treasure Hunt Engine ate my weekend How to Choose the Right AI Course in Mumbai Building an Interactive Tier List with Next.js — NTE Tier List Case Study Website Accessibility Audit: The Complete Guide (WCAG 2.2) GitHub has had 257 incidents in 12 months. Here's what that means for your CI pipelines The Moment We Realized the Default Config Was a Lie Grafana Pricing Teardown 2026 Infisical Pricing Teardown 2026 Langfuse Pricing Teardown 2026 Metabase Pricing Teardown 2026 n8n Pricing Teardown 2026 Novu Pricing Teardown 2026 Plane Pricing Teardown 2026 Temporal Pricing Teardown 2026 Python 101 a Comprehensive Guide ToolJet Pricing Teardown 2026 Dev.to is such a fantastic platform for developers, writers, and tech enthusiasts to share knowledge and learn from each other. I really appreciate how the community encourages creativity, collaboration, and continuous learning through insightful articles Twenty CRM Pricing Teardown 2026 Ever Wondered What Actually Happens When You Click “Send” on an Email? Automating MongoDB Auditlogs Cleanup & Restore Workflow with S3 Backup Best Java Web Scraping Libraries The padlock doesn't mean what you think it means I built a simple pytest plugin for test observability (need your help 😅) Laravel AI SDK Silently Kills Your Horizon Queue (And How to Fix It in 4 Config Changes) The Day We Hardcoded 42 in the Treasure Hunt Engine Today we are launching on Product Hunt! I built FreeLedger to end the freelance finance nightmare Fintech Devs May Get Fed Master Accounts Karpathy Joined Anthropic to Train Claude Using Claude Just released my new Flutter package: smart_player_kit The Day the Treasure Hunt Engine Decided to Lie to Us About Latency Django Session Cookie vs localStorage JWT Security Comparison The Day Our Treasure Hunt Engine Blew Up at 3 AM How I Built 8 Free Dev Tools as a Solo Maker — Lessons Learned
Building a Senior-Level DevOps / SRE / Infrastructure Engineer Terminal Setup (macOS)
FOLASAYO SAM · 2026-05-27 · via DEV Community

This guide walks through building a powerful terminal environment used by Senior Site Reliability Engineers, DevOps Engineers, and Infrastructure Engineers.

It focuses on:

  • Productivity
  • Safety in production environments
  • Better visibility of system state
  • Faster workflows
  • Modern tooling

1. Why your terminal matters as a Senior Engineer

In real infrastructure work, your terminal is not just a tool — it is your:

  • Control center for production systems
  • Kubernetes interface
  • Cloud interaction layer (AWS/GCP/Azure)
  • Debugging environment
  • Deployment interface

A good terminal setup reduces:

  • Human errors
  • Deployment mistakes
  • Context switching time
  • Cognitive load

2. Install Zsh (modern shell)

macOS already ships with Zsh, but we ensure it’s active and up to date.

Check your shell:

echo $SHELL

Enter fullscreen mode Exit fullscreen mode

If not Zsh:

chsh -s /bin/zsh

Enter fullscreen mode Exit fullscreen mode

3. Install Oh My Zsh (plugin framework)

Oh My Zsh helps manage plugins and configuration.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Enter fullscreen mode Exit fullscreen mode

4. Install essential plugins (productivity layer)

We install two core plugins:

1. Autosuggestions

Shows previous commands as you type.

git clone https://github.com/zsh-users/zsh-autosuggestions \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Enter fullscreen mode Exit fullscreen mode

2. Syntax Highlighting

Highlights valid/invalid commands.

git clone https://github.com/zsh-users/zsh-syntax-highlighting \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Enter fullscreen mode Exit fullscreen mode

Enable plugins

Edit:

nano ~/.zshrc

Enter fullscreen mode Exit fullscreen mode

Set:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Enter fullscreen mode Exit fullscreen mode

Reload:

exec zsh

Enter fullscreen mode Exit fullscreen mode

5. Install Starship (modern prompt system)

Starship is a cross-shell prompt engine that shows:

  • Git branch
  • Node/Python versions
  • Kubernetes context
  • Cloud context
  • Directory status

Install:

brew install starship

Enter fullscreen mode Exit fullscreen mode

Add to .zshrc:

eval "$(starship init zsh)"

Enter fullscreen mode Exit fullscreen mode

Create Starship config

mkdir -p ~/.config
nano ~/.config/starship.toml

Enter fullscreen mode Exit fullscreen mode

Example config:

add_newline = true

format = """
$directory\
$git_branch\
$git_status\
$nodejs\
$python\
$docker_context\
$kubernetes\
$line_break\
$character"""

[character]
success_symbol = "❯"
error_symbol = "❯"

[git_branch]
symbol = "🌿 "

[nodejs]
symbol = "⬢ "

[docker_context]
symbol = "🐳 "

[kubernetes]
symbol = "☸️ "

Enter fullscreen mode Exit fullscreen mode

Reload:

exec zsh

Enter fullscreen mode Exit fullscreen mode

6. Install Nerd Font (Powerline-style icons)

To make icons display correctly in Starship:

Install a Nerd Font:

Recommended: MesloLGS NF

Then:

Set font in terminal (important)

If using:

  • iTerm2 → Preferences → Profiles → Text → Font
  • Terminal.app → Settings → Font

Select:

MesloLGS NF

Enter fullscreen mode Exit fullscreen mode

Without this, icons will break.

7. Install FZF (command search engine)

FZF is one of the most important tools for senior engineers.

brew install fzf
$(brew --prefix)/opt/fzf/install

Enter fullscreen mode Exit fullscreen mode

Features:

  • CTRL + R → search command history
  • CTRL + T → search files
  • Fast navigation

8. Modern CLI replacements

eza (better ls)

brew install eza

Enter fullscreen mode Exit fullscreen mode

Aliases:

alias ls="eza --icons --git"
alias ll="eza -l --icons --git"
alias la="eza -la --icons --git"

Enter fullscreen mode Exit fullscreen mode

bat (better cat)

brew install bat

Enter fullscreen mode Exit fullscreen mode

Alias:

alias cat="bat"

Enter fullscreen mode Exit fullscreen mode

9. Kubernetes tooling (core DevOps skill)

brew install kubectl kubectx

Enter fullscreen mode Exit fullscreen mode

What you get:

  • kubectl → Kubernetes CLI
  • kubectx → switch clusters
  • kubens → switch namespaces (included inside kubectx)

Example:

kubectx

Enter fullscreen mode Exit fullscreen mode

10. Docker productivity tools

brew install lazydocker

Enter fullscreen mode Exit fullscreen mode

Useful aliases:

alias d="docker"
alias dps="docker ps"
alias dex="docker exec -it"

Enter fullscreen mode Exit fullscreen mode

11. AWS CLI setup

brew install awscli

Enter fullscreen mode Exit fullscreen mode

Configure:

aws configure

Enter fullscreen mode Exit fullscreen mode

Or modern method:

aws configure sso

Enter fullscreen mode Exit fullscreen mode

12. Infrastructure as Code (Terraform)

⚠️ Install correctly via HashiCorp tap:

brew tap hashicorp/tap
brew install hashicorp/tap/terraform

Enter fullscreen mode Exit fullscreen mode

Verify:

terraform -version

Enter fullscreen mode Exit fullscreen mode

13. Productivity upgrade tools

zoxide (smart cd)

brew install zoxide

Enter fullscreen mode Exit fullscreen mode

Add:

eval "$(zoxide init zsh)"

Enter fullscreen mode Exit fullscreen mode

Usage:

z project-name

Enter fullscreen mode Exit fullscreen mode

tmux (session persistence)

brew install tmux

Enter fullscreen mode Exit fullscreen mode

Used for:

  • remote servers
  • long-running processes
  • multi-window workflows

14. Security / Debugging tools (SRE mindset)

brew install jq httpie nmap

Enter fullscreen mode Exit fullscreen mode

Why:

  • jq → JSON parsing
  • httpie → API testing (better curl)
  • nmap → network debugging

15. Git aliases (speed boost)

Add to .zshrc:

alias gs="git status"
alias ga="git add"
alias gc="git commit -m"
alias gp="git push"
alias gl="git log --oneline --graph --all"

Enter fullscreen mode Exit fullscreen mode

16. Final .zshrc structure

Your .zshrc should look like:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

eval "$(starship init zsh)"

eval "$(zoxide init zsh)"

# aliases
alias ls="eza --icons --git"
alias ll="eza -l --icons --git"
alias la="eza -la --icons --git"
alias cat="bat"

alias k=kubectl
alias gs="git status"
alias gp="git push"

Enter fullscreen mode Exit fullscreen mode

Final Result: What you have built

Your terminal is now capable of:

Intelligence

  • autosuggestions
  • command history search (fzf)

Visual clarity

  • Starship prompt
  • git + cloud context awareness

DevOps tools

  • kubectl / kubectx
  • terraform
  • docker tooling
  • AWS CLI

Security/debugging

  • jq, httpie, nmap

Productivity

  • zoxide
  • tmux
  • eza + bat

Final mindset shift (important)

A senior DevOps/SRE engineer does not rely on memory.

They rely on:

  • tooling visibility
  • automation
  • fast navigation
  • safe production workflows

Your terminal is now a production-grade engineering workstation, not just a command line.