Friday

Claude Code Tutorial for Beginners: Setup Guide

Claude Code is one of the easiest ways to get started with AI-assisted coding from your own computer.

This beginner guide shows you how to set up Claude Code step by step, what you need before you start, and how to get your first working coding workflow running quickly.

If you want to use Claude Code for building apps, automating development tasks, or experimenting with AI coding workflows, this walkthrough will get you set up properly.

Sign up to Claude

If you don’t already have a Claude account, go to claude.com and setup your account.

I suggest getting a Pro plan to get started. Claude Code takes up significant amount of tokens and Free plan won’t last you long enough.

Anthropic pricing page showing Claude Pro plan for Claude Code
Anthropic plan comparison table showing Claude Code token limits

Setup IDE (Cursor)

An Integrated Development Environment (IDE) is required to run Claude Code. There are multiple IDE options to choose from and I am using my favourite which is Cursor.

Go to cursor.com and download the application on your computer.

Cursor IDE download page for setting up Claude Code environment

Creating a Project

  1. Open Cursor and you will see this screen below. Click ‘Open project‘ and create a new folder.
  1. Now you will see this dark and empty screen.
Opening a new terminal in Cursor IDE navigation bar
  1. Let’s open a terminal by going to the navigation bar -> Terminal -> New Terminal.
Claude Code documentation page with installation command to copy
  1. Go to Claude Code DocsClaude Code overview – Claude Code Docs and copy the code appropriate to your OS (I’m using macOS).
Pasting Claude Code installation command into the terminal
  1. Paste the code into the terminal.
Terminal showing successful Claude Code installation complete
  1. You’ve now installed Claude Code, well done!👏
Claude Code successfully installed and ready to use in terminal

Lauch Claude Code

  1. Type ‘claude’ into the terminal.
claude
  1. You can navigate using arrow keys and press enter to select.
Claude Code terminal showing navigation with arrow keys prompt
Claude Code first-time login prompt with browser authentication link
  1. (First time only) Login to Claude. When you first install Claude, it will ask you to login. Follow the instructions by clicking the link provided and login from a browser.

I suggest using login method #1 at all times.

Claude Code login method showing browser page and terminal key input
  1. It will take you to a login page (right) and automatically input your unique key into the terminal (left).
Claude Code browser login page with unique key auto-filled in terminal
  1. Press Enter to complete your setup.
Claude Code setup complete and ready to start coding
  1. Setup is now complete and you’re ready to go!
Claude Code terminal showing successful authentication setup

Initialising Claude Code

Type into Claude Code

/init

This will create a .claude folder with a configuration file about this project. It will have all the settings for Claude.

Claude Code init command creating project configuration file
Claude Code project settings and configuration file overview

We looked at how to set up Claude Code on IDE and launch Claude Code on our terminal. Now we are completely set up and ready to go!

Just remember, you only have to login and setup Claude Code once. Also, when you’re working on a new project, always create a new folder.

Follow my socials for more AI stuff 😛

Share this post!
Selene Lee
Selene Lee
Articles: 17

9 Comments

  1. […] U.S. District Judge Rita Lin ruled that the Trump administration’s decision to brand Anthropic as a supply chain risk, after the company refused to allow its AI in autonomous weapons, appeared arbitrary, punitive, and potentially in violation of First Amendment protections. The temporary order blocks both the supply chain designation and a directive banning all federal agency use of Claude. […]

Leave a Reply

Your email address will not be published. Required fields are marked *