- Learn WebAssembly
- Mike Rourke
- 124字
- 2021-08-13 15:38:57
Installing Git on macOS
Git is probably already available if you're using macOS. macOS comes bundled with Apple Git, which will probably be a few versions behind the most recent version. For the purposes of this book, the version you already have installed should be sufficient. If you wish to upgrade, you can install the most recent version of Git using Homebrew by running the following commands in Terminal:
# Install Git to the Homebrew installation folder (/usr/local/bin/git):
brew install git
# Ensure the default Git is pointing to the Homebrew installation:
sudo mv /usr/bin/git /usr/bin/git-apple
If you run this command, you should see /usr/local/bin/git:
which git
You can check to ensure that the installation was successful by running this command:
git --version
推薦閱讀
- Practical Data Analysis Cookbook
- Clojure for Domain:specific Languages
- Web Application Development with MEAN
- C++程序設計基礎教程
- Unity Shader入門精要
- Amazon S3 Cookbook
- 你不知道的JavaScript(中卷)
- PySide 6/PyQt 6快速開發與實戰
- Getting Started with React Native
- Simulation for Data Science with R
- STM8實戰
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Yii2 By Example
- C語言程序設計教程
- Hands-On Game Development Patterns with Unity 2019