[BUG] "claude" + directory option does not set the start directory

Resolved 💬 3 comments Opened Dec 22, 2025 by ghost Closed Feb 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

although I specified claude ~/Workspace when starting, the header or logon
screen above still indicates my home directory /home/c

● You're right to point that out. Let me check what the actual current working directory is:

● Bash(pwd)
⎿  /home/c

● You're correct - the working directory is actually /home/c, not /home/c/Workspace as you specified when launching Claude Code. It looks like the directory argument you passed (~/Workspace) wasn't applied.

This appears to be a bug with Claude Code. If you'd like to report this issue, you can file it at: https://github.com/anthropics/claude-code/issues

What Should Happen?

Claude console should start in the directory that is specified when "claude" is invoked from the command line

Error Messages/Logs

no error output, the console just starts in the user's home directory and not in the specified directory

Steps to Reproduce

although I specified claude ~/Workspace when starting, the header or logon
screen above still indicates my home directory /home/c

● You're right to point that out. Let me check what the actual current working directory is:

● Bash(pwd)
⎿  /home/c

● You're correct - the working directory is actually /home/c, not /home/c/Workspace as you specified when launching Claude Code. It looks like the directory argument you passed (~/Workspace) wasn't applied.

This appears to be a bug with Claude Code. If you'd like to report this issue, you can file it at: https://github.com/anthropics/claude-code/issues

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.75 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗