05-Mac Development Environment Setup

January 1, 2022

Node.js Environment Installation

Install Python3

  1. Download the installer from the official website and install Python.

    Install Python -廖雪峰's Official Website

  2. Run the following commands to install pip:

    # Download the script
    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    # Execute the installation script
    sudo python3 get-pip.py
    
  3. Run the following commands to install Powerline:

    pip3 install powerline-status
    
    # Find the installation location
    pip3 show powerline-status
    

    If the first command returns an error like curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to bootstrap.pypa.io:443, the solution is: open https://bootstrap.pypa.io/get-pip.py in your browser, download the file locally, and then execute the local script.

    Reference links:

iTerm2 Terminal Installation

You must install the Python environment before installing Powerline.

Reference links:

Article Title: 05-Mac Development Environment Setup

Author:

Published: January 1, 2022

Copyright: This article is licensed under CC BY-NC-SA 4.0 . Please keep attribution when reusing.

Related Posts

1/1/2022

03-Mac Keyboard Shortcuts

Master these commonly used Mac keyboard shortcuts to significantly boost your productivity! Covering 15 practical shortcut sets—from Finder operations and file management to app switching and text editing—this guide helps you effortlessly master the Mac system.

1/1/2022

Scientific Internet Access

Detailed Guide to Setting Up Scientific Internet Access on macOS, Including ClashX Configuration with Telegram and Dropbox Proxy Setup, Supporting SOCKS5 Protocol, and Resolving Issues Where Applications Cannot Access the Internet After Proxy Configuration.

3/6/2020

02-Mac Software Operations

Share common Mac software configurations and practical tips, covering Alfred, Chrome, Snipaste, Sogou Input Method, scientific internet tools, and efficiency plugins to enhance Mac usage efficiency and experience.

Comments