Xcode is Apple’s native IDE, an integrated development environment that has all the tools you need for software development on Mac.
Step 1: Install command line tools for Xcode
Since some people don’t want to use curl for security reasons, there are ways to manually download and execute the script (but we won’t go into that here).īefore you dive into the process, make sure your macOS meets the following requirements: The same applies to the process of uninstalling Homebrew. This method is the easiest and it’s recommended by the Homebrew team. Moving to the main part - ”install Homebrew Mac” - we should explain that the installation method we describe uses curl to download the installation script. The beauty of it is that you don’t have to know these apps or know what they do - you just type your task in search (for example, “edit PDF”), and Setapp gives you the apps that can edit PDF. It’s a subscription service that gives you access to a huge amount of tools - from development tools to productivity apps that help you track time, record screen, convert files to other formats, etc.
If that’s the case, we recommend looking into Setapp. Maybe you’re a newbie or don’t feel comfortable using Terminal (it has a pretty boring interface, let’s admit it). There are some simple default brew commands for installing single-file utilities, and more advanced subcommands called casks - you’ll have to use those to install multi-directory utilities. The main thing you should know as a user is that Homebrew acts through Terminal commands - you can install, update, and uninstall packages by typing a few words. To go easy on the coding jargon, we won’t be explaining how Homebrew works under the hood.
gitconfig fileįor the most part, I will continue to type out the full command in these instructions. Best of all, the git hist command will help you avoid the really long log command. The most important thing to learn from this lesson is that you can type git st wherever you had to type git status. In the previous lesson we covered the log command and will get to know the checkout command very soon. We’ve already talked about commit and status commands. Hist = log -pretty=format:\"%h %ad | %s%d \" -graph -date=short Git status, git add, git commit, and git checkout are common commands so it is a good idea to have abbreviations for them.Īdd the following to the. Git config -global alias.dump 'cat-file -p' Git config -global alias.type 'cat-file -t' Git config -global alias.hist "log -pretty=format:'%h %ad | %s%d ' -graph -date=short"