Hey designers! đ If youâre used to tools like Figma and Sketch, setting up a development environment might feel like landing on a new planet. Donât worry! This guide will walk you through setting up your Mac with everything you need to start coding with Cline, using friendly tools that will feel familiar to your design workflow.
Why Do We Need All This Stuff?
Before we dive in, imagine youâre setting up a new design workstation. Youâd need:
- Your design tools (like Figma)
- Your font management
- Your color profiles
- Your asset libraries
Coding needs a similar workspace setup. Each tool weâre installing has a specific purpose, just like your design tools do. Letâs break it down!
Part 1: Making Your Command Line Beautiful đ¨
Installing iTerm2
What is it? Think of iTerm as âFigma for the command lineâ - itâs like the default Terminal app that comes with your Mac, but with better design and customization options.
Why youâll love it:
- Customizable colors and themes
- Split screen capabilities (like artboards!)
- Better typography and spacing
- Can save your preferences and layouts
How to install:
- Download iTerm2 from iterm2.com
- Drag it to your Applications folder
- Open it (it will look plain at first - weâll make it pretty soon!)
Making iTerm Beautiful (Optional but Fun!)
- Open iTerm Preferences (â + ,)
- Go to âProfilesâ â âColorsâ
- Try some themes like:
- Solarized Dark (easy on the eyes)
- One Dark (like VS Codeâs popular theme)
- Dracula (if you like purple!)
Part 2: Installing Our Package Manager đŚ
Whatâs Homebrew?
Think of Homebrew like the App Store for developers. Itâs how weâll install most of our tools safely.
Why we need it:
- Keeps everything organized (like your layer groups in Figma)
- Makes installing/uninstalling things clean (no leftover files)
- Updates everything with one command
Installation:
- Open iTerm
- Copy and paste this command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Press Enter and wait for it to finish
- IMPORTANT: After itâs done, youâll see some yellow text with commands to copy
- Copy and paste those commands into iTerm too (they make Homebrew work)
- Type
brew help
- if you see a list of commands, youâre good to go!
Part 3: Setting Up Your Code Editor đŠâđť
Installing VS Code
Visual Studio Code is like Figma for code - itâs where youâll spend most of your time.
Why youâll love it:
- Clean, minimal interface
- Great color themes
- Shows you mistakes before they break things
- Lots of helpful extensions
Installation:
- In iTerm, type:
brew install --cask visual-studio-code
- Open VS Code from your Applications folder
- Install the Cline extension:
- Click the Extensions icon on the left sidebar (it looks like four squares)
- Search for âClineâ
- Click Install
Making VS Code Designer-Friendly
Letâs set up some things that will make VS Code feel more familiar:
- Install these extensions:
- âMaterial Icon Themeâ (makes file icons pretty)
- âOne Dark Proâ (popular color theme)
- âPrettierâ (automatically formats your code)
Part 4: Installing Development Tools đ ď¸
Python
What is it? A programming language that Cline needs to work.
Installation:
- In iTerm, type:
brew install python
- Verify it worked by typing:
python3 --version
You should see a number like â3.11.0â
Node.js
What is it? Another programming language tool that helps with web development.
Installation:
- In iTerm, type:
brew install node
- Verify it worked by typing:
node --version
Part 5: Setting Up Cline đ
Now that we have all our tools installed, letâs get Cline ready:
- Open VS Code
- Use the Command Palette (â + Shift + P)
- Type âCline: Initializeâ
- Follow any prompts that appear
Common Questions & Solutions
âIt says âcommand not foundââ
- Solution: Try closing and reopening iTerm
- This refreshes your settings (like when you have to restart Figma)
âI get a permissions errorâ
- Solution: Add âsudoâ before the command that failed
- Example:
sudo npm install
- It will ask for your Mac password (like when you install apps)
âVS Code isnât recognizing Clineâ
- Close VS Code completely
- Reopen it
- Try the command again
Maintenance Tips
Just like keeping your design files organized:
- Once a week, run
brew update
to update your tools - Keep VS Code updated through the App Store
- Use folders to organize your code projects
Next Steps
Now that youâre set up:
- Try creating your first project with Cline
- Explore VS Codeâs color themes
- Practice some basic terminal commands
- Join the Cline community for designers
Need Help?
- Use the VS Code command palette (â + Shift + P) to explore Cline commands
- Check out the Cline documentation
- Ask in the design community!
Remember: Everyone starts somewhere! If you run into trouble, take a screenshot of any error messages - theyâre like developer design specs and help others help you!
Happy coding! đ¨â¨