If you have Homebrew installed, you can do this.
# check the zsh info brew info zsh # install zsh brew install --without-etcdir zsh # add shell path sudo vim /etc/shells # add the following line into the very end of the file(/etc/shells) /usr/local/bin/zsh # change default shell chsh -s /usr/local/bin/zsh
Hope it helps, thanks.
Related Posts:
- sudo: port: command not found
- List of ANSI color escape sequences
- Can’t run C program: “a.out: command not found”
- gcloud command not found – while installing Google Cloud SDK
- gdb debugging in Terminal OS X (10.8.5) with zsh
- Request timeout for icmp_seq
- How to open a “-” dashed filename using terminal?
- How do I pause my shell script for a second before continuing?
- How to execute a program or call a system command?
- Conda command not found
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Conda command not found
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Where to place $PATH variable assertions in zsh?
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- What does export PS1=”\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ ” mean in MacOS’ bash Terminal?
- How do I execute a bash script in Terminal?
- What does the Pydoc module do?
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- commands not found on zsh
- Terminal error: zsh: permission denied: ./startup.sh
- How to switch Python versions in Terminal?
- Node Version Manager install – nvm command not found
- How to reload .bashrc settings without logging out and back in again?
- mvn command not found in OSX Mavrerick
- How to print colored text to the terminal
- keep getting “? Something is already running on port 3000” when I do npm start on react app
- Change default title in mac terminal window
- restart console on Minecraft Server
- cp: missing destination file operand after
- mvn command not found in OSX Mavrerick
- How to print colored text to the terminal
- curl: (6) Could not resolve host: google.com; Name or service not known
- How to open the terminal in Atom?
- Clear terminal in Python [duplicate]
- How to edit a py file from terminal?
- adb command not found
- sudo command not found on Cygwin
- How do I edit $PATH (.bash_profile) on OS X?
- How to fix request failed on channel 0
- How to use vim in the terminal?
- -bash: export: `=’: not a valid identifier
- How to use vim in the terminal?
- Zsh: Conda/Pip installs command not found
- OS X cp command in Terminal – No such file or directory
- psql: FATAL: role “postgres” does not exist
- node.js: cannot find module ‘request’
- How can I change the color of my prompt in zsh (different from normal text)?
- Mac install and open mysql using terminal
- Display current path in terminal only
- How do I add a newline using printf?
- Run script on mac prompt “Permission denied”
- Gedit command not working in kali linux terminal
- Finding text inside a folder using terminal
- Is there anything in Zsh like .bash_profile?
- Command not found go — on Mac after installing Go
- Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user
- How to stop (and restart) the Rails Server?
- How to run Ruby code from terminal?
- How to run Ruby code from terminal?
- Adding a new entry to the PATH variable in ZSH
- Vim: No write since last change, even though I changed the file
- How can I display the current branch and folder path in terminal?
- How to navigate to to different directories in the terminal (mac)?
- Sublime Text from Command Line
- What is the jmpq command doing in this example
- Open Sublime Text from Terminal in macOS
- How can I find the path to an executable in OSX