Claude Code Setup

Tags Claude

Terminal Claude Code Setup

Note: Visit Quickstart - Claude Code Docs for additional documentation from Anthropic.
  • Open your terminal program.
  • Depending on your platform, enter the corresponding command.
  • macOS, Linux, WSL:
    • 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
  • You may be told that Claude is not in your path.
    • Follow the instructions to add it to your path. They are also included below.
      • Native installation exists but C:\Users\sxw220015\.local\bin is not in your PATH.
      • Add it by opening: System Properties → Environment Variables → Edit User PATH → New → Add the path above.
      • Then restart your terminal.
  • If you are on Windows it is recommended to install Git - Install for Windows.
  • To confirm the installation worked, run:
    • claude –version
  • You must log in to your account to use Claude Code.
  • If you have a folder you would like to work in, navigate your terminal to it now.
  • Enter claude into your terminal.
  • The terminal program will launch.
  • It will ask you to select your theme.
    • Use the arrow keys to select the desired theme, and press Enter to continue.
    • You can also press the corresponding number.
  • The next screen will ask you to select your login method.
    • Choose 1. Claude account with subscription.
  • Your browser will open with a window asking you to connect Claude Code to your Claude chat account.
    • Click Authorize.
    • It may ask you to sign in again. Once authorized you can close the window.
  • Return to your terminal.
    • It should note that your Login was successful.
    • Press Enter to continue.
  • Review the security notes and press Enter to continue.
  • If you are in a working folder, you can either give Claude permission to access it or press 2 to exit.
  • Navigate to a working directory for Claude and run the claude command.
Print Article

Related Services / Offerings (1)

Claude for Education provides UT Dallas faculty and staff with institutionally managed access to Anthropic's Claude AI assistant. The offering includes Claude Chat for everyday AI assistance, Claude Cowork for more complex, multi-step work, and Claude Code for programming and development tasks.