Installing Anaconda Beginner
Download and install Anaconda on your operating system, configure your PATH, verify the installation, and run your first commands.
Downloading Anaconda
Visit the Download Page
Go to anaconda.com/download and select your operating system.
Choose the Installer
Download the latest version (Python 3.x). The installer is approximately 800 MB to 1 GB.
Verify the Download
Optionally verify the SHA-256 hash to ensure the file was not corrupted during download.
Installation on Windows
- Run the downloaded
.exeinstaller - Click Next and accept the license agreement
- Choose "Just Me" (recommended) or "All Users"
- Select the installation directory (default:
C:\Users\username\anaconda3) - Choose whether to add Anaconda to your PATH (not recommended by installer, but convenient)
- Check "Register Anaconda as my default Python" (recommended)
- Click Install and wait for completion (~5-10 minutes)
PATH Note: The installer recommends not adding Anaconda to PATH to avoid conflicts with other Python installations. Instead, use Anaconda Prompt (a special command prompt where conda is available). If Anaconda is your only Python, adding to PATH is fine.
Installation on macOS
- Download the
.pkggraphical installer or the.shcommand-line installer - Graphical: Double-click the .pkg file and follow the prompts
- Command line: Run
bash Anaconda3-2024.xx-MacOSX-x86_64.sh - Accept the license, choose the install location
- Allow the installer to initialize conda (adds to
~/.zshrcor~/.bashrc)
Installation on Linux
# Download the installer
wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh
# Run the installer
bash Anaconda3-2024.10-1-Linux-x86_64.sh
# Follow the prompts:
# 1. Press Enter to review the license, then "yes" to accept
# 2. Confirm the install location (default: ~/anaconda3)
# 3. Type "yes" to initialize conda
# Restart your terminal or source your profile
source ~/.bashrc
Choosing Python Version
Anaconda ships with the latest stable Python version. You can create environments with different Python versions:
# Create environment with Python 3.11
conda create --name py311 python=3.11
# Create environment with Python 3.10
conda create --name py310 python=3.10
# Check Python version in current environment
python --version
PATH Configuration
If you chose not to add Anaconda to PATH during installation, you can do it manually:
# Windows (add to System Environment Variables):
# C:\Users\username\anaconda3
# C:\Users\username\anaconda3\Scripts
# macOS/Linux (add to ~/.bashrc or ~/.zshrc):
export PATH="$HOME/anaconda3/bin:$PATH"
# Or use conda init (recommended):
conda init bash # or zsh, fish, powershell
Verifying Installation
# Check conda version
conda --version
# Check Python version
python --version
# Check Anaconda version
conda list anaconda$
# List all installed packages
conda list
# Run a quick test
python -c "import numpy; print(f'NumPy {numpy.__version__} works!')"
Anaconda Prompt
On Windows, Anaconda Prompt is a special command prompt that has conda properly configured:
- Find it in the Start Menu under "Anaconda3"
- The prompt shows
(base)indicating the base conda environment is active - Use this instead of the regular Command Prompt or PowerShell for conda commands
- Anaconda PowerShell Prompt is also available if you prefer PowerShell
First Commands
# See conda help
conda --help
# List environments
conda env list
# Check system info
conda info
# List installed packages
conda list
# Launch Jupyter Notebook
jupyter notebook
# Launch Anaconda Navigator
anaconda-navigator
Updating Anaconda
# Update conda itself
conda update conda
# Update all packages in the current environment
conda update --all
# Update Anaconda meta-package (updates everything)
conda update anaconda
# Update a specific package
conda update numpy
Tip: After installation, run
conda update conda and conda update --all to ensure you have the latest versions of all packages.
Lilly Tech Systems