Or your default package manager on Linux: $ sudo dnf install zsh If you don't have Z shell installed, you can install it with Homebrew on MacOS or Linux: $ brew install zsh Test whether you already have Z shell installed: $ zsh -version If you're on Linux, the default terminals (such as GNOME terminal, Konsole, XFCE terminal, or similar) match or exceed the features of iTerm2, so you can use whatever you already have installed. Or, you can download and install iTerm2 from its website and drag and drop the file into your Application folder. Install iTerm 2 with Homebrew using: brew cask install iterm2 I really enjoy it because of its many great features, including search, autocomplete, paste history, and thousands of helpful functions, helpers, plugins, themes, and a few things that may make you shout with joy. If you get an error on MacOS, run xcode-select -r to reset xcode-select.įor more information about Homebrew, read Matthew Broberg's article Introduction to Homebrew: the painless way to install anything on a Mac. Once you're comfortable with what the script is going to do, you can safely execute it: $ bash homebrew_installer.sh Then install Homebrew by entering this command in a macOS terminal or Linux shell prompt: $ curl -fsSL -output homebrew_installer.sh \īefore executing an install script on your system, review it to ensure it's not malicious: $ more homebrew_installer.sh ![]() Install Xcode tools with: xcode-select - install Before you can install Homebrew, you must install the Xcode tools (or the complete version of Xcode, if you prefer). Homebrew is the easiest way to install and manage utilities on a Mac. If you're a Linux user, you can read this article about themes and plugins for Zsh. If you're a Mac user and would like to try it, follow along with this how-to. In this article, I'll explain how I customize my macOS Z shell (zsh) terminal with iTerm2, Oh My Zsh, and Powerline10k. This makes it important that you set up your terminal in ways that improve your productivity and decrease your frustration. The command line is an important part of every developer's workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |