Make sure Node.js 18+ is installed. On macOS use Homebrew (brew install node); on Linux use your distro package manager or the official installer; on Windows use the installer from nodejs.org.
Minimum requirements
Install the Claude Code CLI
Install the CLI globally so you can run thecloud command from any folder:
-g? The global flag installs a system-wide executable so you can run cloud from any working directory. Without -g, the package installs into the current project’s node_modules folder and is not globally available.
If you prefer to install Node.js with Homebrew on macOS:
First run: start and authenticate
Run the CLI:
Example CLI prompt:

Security reminder (review generated code)
When you sign in, the CLI prints a short security reminder. Always review any generated code before running it.Important: Never run code you don’t trust. Prompt injection and code-generation mistakes are real risks—review outputs and use version control for auditing changes.
Quick example: generate test data and ask Claude Code to create a script
As a quick real-world test, generate fake data using Mockaroo (CSV export) and save it as members.csv. For example, include fields such as id, first_name, last_name, email, gender, ip_address.
Editor integration: Visual Studio Code
Open your project in Visual Studio Code (or another editor). Claude Code integrates with VS Code and provides in-IDE shortcuts and context-awareness.
- Run
/terminal-setupto enable helpful terminal keybindings (e.g., Shift+Enter for a new line). - Use the
cloudCLI inside the project terminal to ask Claude Code to inspect files, generate code, suggest edits, or craft bash/git commands. - Use Quick Launch (Cmd+Esc on macOS) to jump into Claude Code workflows inside the editor.
Run the generated script
Run the Python script locally (optionally inside a virtual environment):Summary — Checklist
- Install Node.js 18+ (npm included)
- Install the Claude Code CLI globally:
- npm install -g @anthropic-ai/claude-code
- Run the CLI: cloud
- Authenticate via Claude subscription or Anthropic Console (browser or copy-paste URL)
- Review generated code before running it
- Optionally integrate with Visual Studio Code for an in-IDE experience
Links and references
- Anthropic Console
- Mockaroo — generate fake data
- Visual Studio Code
- Node.js downloads
- Claude Code security docs