Guides

How to Set Up Claude Code in Ritemark

8 min read
How to Set Up Claude Code in Ritemark

How to Set Up Claude Code in Ritemark

Claude Code is Anthropic's official CLI for AI-assisted writing and editing. Ritemark integrates Claude Code directly into its AI sidebar -- select "Claude" from the agent dropdown and start working. Ritemark's onboarding wizard detects if Claude Code is installed and walks you through setup if it is not.


What Do You Need Before Installing?

You need a Claude subscription or an Anthropic API key:

  • Claude Pro/Max -- sign in with your Claude.ai account, no API key needed

  • Claude Team or Enterprise -- sign in with your organization account

  • Anthropic API key -- usage-based billing via Anthropic Console

The native installer has no dependencies beyond a network connection. On Windows, Git for Windows is required. Ritemark's setup wizard can detect and install missing components for you.


How Do You Install Claude Code?

Open the AI sidebar in Ritemark and select "Claude" from the agent dropdown. If Claude Code is not installed, Ritemark shows an onboarding wizard that:

  1. Detects missing dependencies (Git, Node.js, Claude CLI)

  2. Offers guided installation for each component

  3. Walks you through authentication

This is the fastest path, especially on Windows where Ritemark handles dependency detection automatically.

Option 2: Manual Installation

Install Claude Code from your terminal or Ritemark's built-in terminal.

macOS:

curl -fsSL https://claude.ai/install.sh | bash

Windows (PowerShell):

irm https://claude.ai/install.ps1 | iex

Windows (CMD):

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Homebrew (macOS/Linux):

brew install --cask claude-code

WinGet (Windows):

winget install Anthropic.ClaudeCode

Note: Homebrew and WinGet installations do not auto-update. Run brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode periodically to get the latest version.

After installation, run claude to authenticate:

claude

This opens your browser for OAuth sign-in with your Claude.ai account. If you prefer using an API key instead, set the environment variable:

export ANTHROPIC_API_KEY="sk-ant-your-key-here"

Verify the installation:

claude --version

You can also confirm your setup status in Settings -> Claude Account. This section shows your authentication method, CLI version, and billing source. Settings syncs AI agent status in real time.


How Do You Use Claude Code in Ritemark?

Open the AI sidebar and select "Claude" from the agent dropdown at the top of the panel. Type your request in the chat input. Claude Code reads your open document and project files, proposes edits, and waits for your approval before writing changes.

From the Terminal

Open a folder with markdown files in Ritemark, then start Claude Code in the terminal. It launches an interactive session where you describe what you want in plain language.

claude "make this document more concise"

Try these examples:

claude "in notes.md, add a summary section at the top"
claude "reorganize proposal.md: move conclusions to the end, add an executive summary"
claude "review draft.md and improve the writing style"

What Can Claude Code Do With Your Documents?

Claude Code handles complex writing tasks that would take many copy-paste cycles with a chat-based AI. It reads files, understands context, and makes multi-step edits.

Polish writing:

claude "review draft.md and improve the writing style. Make it more professional."

Expand content:

claude "in blog-post.md, expand the 'Benefits' section with 3 more bullet points"

Restructure documents:

claude "convert meeting-notes.md from paragraphs into a structured outline with headers"

Convert formats:

claude "convert notes.md into a blog post format with introduction and conclusion"

Translate:

claude "translate article.md to Estonian, save as article-et.md"

How Do You Get the Best Results?

Specific prompts produce better results than vague ones. Always reference the filename and describe exactly what outcome you want.

Instead of Say
"improve this" "make the introduction more engaging"
"fix it" "fix the bullet point formatting in the Features section"
"make it better" "simplify the language for a non-technical audience"

Use Version Control as a Safety Net

Git lets you review AI changes and revert anything you do not like:

git commit -am "before AI edits"
# run claude commands
git diff  # review changes
git commit -am "AI: improved writing"  # or git checkout . to undo

How Much Does Claude Code Cost?

There are two billing options:

Claude.ai subscription (OAuth sign-in):

  • Claude Pro and Max subscriptions include Claude Code usage

  • Claude Team and Enterprise plans include Claude Code usage

  • No per-message API costs -- usage is covered by the subscription

  • The free Claude.ai plan does not include Claude Code access

Anthropic API key (usage-based):

  • A typical single-document edit costs $0.01-0.10

  • Heavy daily usage with multiple articles, translations, and batch edits might cost $1-5 per day

  • Costs depend on document length, response length, and the model used

  • Check usage at Anthropic Console


How Does Claude Code Compare to the Built-in AI Assistant?

Claude Code handles complex multi-file tasks through the AI sidebar or terminal. The built-in AI assistant handles quick edits via inline suggestions. Use both for the best workflow.

Task Best Tool
Quick rephrase Built-in AI Assistant
Full document rewrite Claude Code
Add new section Claude Code
Fix single paragraph Built-in AI Assistant
Structural changes Claude Code
Grammar fixes Built-in AI Assistant

Troubleshooting

"Command not found: claude"

Restart your terminal or open a new one after installation. If the problem persists, reinstall:

curl -fsSL https://claude.ai/install.sh | bash

On Windows, open a new PowerShell window after installation. You can verify with claude --version or run claude doctor for a detailed check.

Authentication Issues

If OAuth sign-in does not complete, check that your browser opened the authentication page. You can also authenticate manually:

claude auth login

For API key authentication, set the environment variable in your shell profile:

export ANTHROPIC_API_KEY="sk-ant-your-key-here"

"Rate limit exceeded"

Wait a few minutes and try again. If you are on an API key, consider upgrading your Anthropic plan for higher limits. Claude Max subscribers have generous rate limits included.

Changes Not Appearing in Editor

Ritemark auto-reloads files within about 1 second. If changes do not appear, save the file manually with Cmd+S or reload the window with Cmd+Shift+P -> Reload Window.

Windows: Ritemark Setup Wizard

If Ritemark cannot detect Claude Code on Windows, use the built-in onboarding wizard. Open the AI sidebar, select "Claude", and follow the guided setup. The wizard detects missing dependencies (Git, Node.js, Claude CLI) and offers installation for each one.


Frequently Asked Questions

How do I install Claude Code on macOS?

Run curl -fsSL https://claude.ai/install.sh | bash in any terminal, including Ritemark's built-in terminal. Alternatively, use brew install --cask claude-code if you have Homebrew. Then run claude to authenticate.

Can I use Claude Code without an API key?

Yes. Claude Code supports OAuth sign-in with your Claude.ai account. Run claude and it opens your browser to sign in. You need an active Claude Max ($100/mo), Claude Team, or Claude Enterprise subscription. An Anthropic API key with billing is still supported as an alternative.

Does Claude Code edit files automatically?

No. Claude Code proposes changes and waits for your approval before writing to disk. You review each edit and can accept or reject it. This keeps you in control of your documents.

How do I update Claude Code?

Native installations auto-update in the background. To apply an update immediately, run claude update. If you installed via Homebrew, run brew upgrade claude-code. If you installed via WinGet, run winget upgrade Anthropic.ClaudeCode.

Can Claude Code work on multiple files at once?

Yes. Claude Code can read and edit multiple files in your working directory in a single session. It handles batch operations like translating all markdown files in a folder or restructuring an entire documentation set.

What is the difference between Claude Code and ChatGPT?

Claude Code is a terminal-based AI agent that reads and edits files directly on your computer. ChatGPT is a browser-based chat interface where you copy-paste text. Claude Code eliminates the copy-paste workflow entirely.

Does Claude Code work with languages other than English?

Yes. Claude Code handles content in any language. You can write prompts in English or your native language, and it can translate between languages while preserving markdown formatting, links, and code blocks.

Can Claude Code access files outside my project folder?

Claude Code operates within the directory where you run it. It reads and writes files within that directory tree. It does not access unrelated directories unless you navigate there.

Does Claude Code work on Windows?

Yes. Windows requires Git for Windows first, then install via PowerShell (irm https://claude.ai/install.ps1 | iex), WinGet (winget install Anthropic.ClaudeCode), or use Ritemark's built-in onboarding wizard which guides you through setup step by step.

Does Ritemark have a setup wizard for Claude Code?

Yes. Open the AI sidebar, select "Claude" from the agent dropdown, and Ritemark checks if Claude Code is installed. If anything is missing, the onboarding wizard guides you through installing Git, Node.js, and the Claude CLI with minimal effort.


How to Set Up Claude Code in Ritemark