I prefer CLI
I prefer CLI

I prefer CLI

Why? Multi-tenant environments. First, we need to understand a few differences between environments:

  • End-user UI
  • Agent Runtime Environment
  • LLM Server

So

  • When you run Claude Code on your local MacBook, the first two are always local. The third is usually the Claude.ai server.
  • When you ssh to a virtual private server (VPS) and install Claude Code there, the first two are your remote server. The third is still the Claude.ai server.
  • When you run Claude RC on your virtual private server and code from your iPad using the Claude app, the end-user UI is on your iPad, the agent runtime environment is on your VPS, and the server is still Claude.ai.

Most people physically separate their tenancy, such as Claude Code, from their personal vs. work laptops. So in most cases, it's not a big deal.

But when you need multi-tenancy, it becomes super stressful. For example, say you have two different toolkits:

  • personal toolkits (personal Notion, personal Sentry, personal Linear)
  • workplace toolkits (company Notion, company Sentry, company Linear)

Most MCP auth states or code harnesses don't support profiles, so you can only log in to one.

So therefore... a natural evolution was to have both:

  • a personal VPS with all personal toolkits set up
  • a workplace VPS with all workspace toolkits set up

to physically isolate tenancies.

Now we've solved the multiple-profile issue, but the client's problems persist. Now let's get back to the environments:

  • End-user UI
  • Agent Runtime Environment
  • LLM Server

All MCP auth or toolkit auth info should always be saved in the Agent Runtime Environment IMHO. However, a surprising number of harnesses tie them to the LLM server (such as Codex Apps or Claude.ai Plugins) or put them in the end-user UI (Claude Desktop or Codex Desktop).

Now the problem is:

  • If the auth data is put on the LLM server, you cannot reuse LLM accounts across tenants
  • If the auth data is put on the end-user UI, you cannot use the same app to access multi-tenants.

The only way to reliably isolate different auth information is thus:

  • You ssh to a virtual private server (VPS) and run Claude Code there. Never use LLM server plugins.

Then

  • End-user UI
  • Agent Runtime Environment

are both isolated VPS, and

  • LLM Server holds no information on the tenancy

This way, you can provide different toolkits, creating multiple dev environments.

Backlinks (1)
  • 260619
Mac을 Command+L로 잠그는 방법
Mac을 Command+L로 잠그는 방법

Mac을 Command+L로 잠그는 방법

191109

Mac을 사용하면서 유일하게 잘 적응이 되지 않은 부분이 바로 화면 잠금이다. 과거 Windows를 사용하면서 ⊞ Win+L키로 화면을 잠구는 것이 습관이 되었기 때문이다. Mac에도 핫 코너라는 기능이 있었지만 ⊞ Win+L처럼 직관적이고 빠르지 못했다. 하지만 macOS Mojave부터 Mac에서도 동일하게 ⌘ Command+L을 사용하여 화면을 잠글 수 있다.

참고

이 방법은 macOS를 한글로 사용하는 경우에만 동작한다. macOS를 영문으로 사용하는 경우 아래 글대로 설정하면 된다.

  • Locking your Mac with Command+L

방법

  1. 시스템 환경설정에 들어간다.
시스템 환경설정
  1. 키보드 → 단축키 → 앱 단축키 설정에 들어가 하단의 + 버튼을 누른다.
키보드 → 단축키 → 앱 단축키 설정
  1. 키보드 → 단축키 → 앱 단축키 설정에 들어가 하단의 + 버튼을 누른다.3. 응용 프로그램으로 모든 응용 프로그램을 선택하고, 메뉴 제목에 화면 잠금을 입력한다. 그 다음 키보드 단축키에 ⌘ Command+L을 입력한다. 만약 다른 단축키로 화면을 잠그고 싶다면 그 단축키를 입력하면 된다. 마지막으로 추가 버튼을 누른다.
키보드 → 단축키 → 앱 단축키 설정

대부분 정상 동작하지만 앱 기본 단축키에 ⌘ Command+L이 포함되어 있는 경우 일시적으로 동작이 되지 않을 수 있다. 대표적으로 시스템 환경설정은 ⌘ Command+L을 환경 설정 전체 메뉴로 돌아가는 단축키로 사용한다. 전체 메뉴에서 다시 ⌘ Command+L 을 누르면 화면이 잠긴다. 이 외에는 아직 ⌘ Command+L 단축키가 동작하지 않는 경우는 보지 못했다.

  • 카카오톡 Mac 버전에서 ⌘ Command+L을 카카오톡 잠금 단축키로 사용한다!
  • 만약 어떤 앱에서 기본 단축키로 Command + L을 쓰는 바람에 맥이 제대로 잠기지 않는다면, 그 앱에서 Command + L을 쓰는 단축키를 찾아 다른 단축키로 설정해주면 된다.
단축키 설정

macOS Big Sur부터 Touch ID 버튼을 가볍게 클릭하면 화면을 잠글 수 있다.

Backlinks (1)
  • 221119
Index
cho.sh
I prefer CLIBB9A08260619260619컴퓨트로늄37A88F컴퓨트로늄0CF03F컴퓨트로늄2C60FB260618260618260418260418260528260528AutoBuilder63849A260419260419Setup9AC296StellaD226F7260415260415Debian SetupD2F701260414260414anaclumos/configs/AGENTS.mdED86A3Ramp의 AX (회사를 AI로 물들이는 법)840774260413260413How to get your company AI pilled46544C260411260411260409260409260407260407260406260406Separating Claude Code Personal Sub and Claude Code Company Sub33A53C
경고
1년 이상 지난 글입니다. 정보가 오래되었을 수 있습니다.