Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMarkie Chancellor
10,809 PointsHi there, which terminal is he using for this video?
I know he is not using QT nor the computers terminal. When he said home base... I became baffled... I wonder where should I go? Thanks for the help!
2 Answers
Michael Hulet
47,913 PointsIn this video, he's using the Terminal app that ships with macOS. I didn't hear him say "home base", but towards the beginning of the video, he referenced the home directory, which is your user's folder on a UNIX-like system like macOS. For example, his is /Users/Kenneth
. On my system, it's /Users/michael
. Even if you don't know exactly what yours is, you can get there by running cd
with no arguments
paul nabende
673 PointsAs Michael Hulet pointed out above, he is using the Mac terminal found in Utilities. If you are on the Mac terminal, you can use cd
to go back home. If you are on a PC you can use Terminal by installing the Cygwin tool.
I also wanted to point out that I found I have to keep sourcing the .bash_profile
every time I start a new instance of the terminal. Failure to do this resulted in zsh: command not found: conda
.
Michael Hulet
47,913 PointsI totally just saw this answer like 4 months later, but this is because you're using a different shell: ZSH. ZSH is not BASH, which is the current default shell in macOS (though ZSH will be the default in macOS 10.15 Catalina). Because of this, ZSH reads from a different initialization script than BASH. To get the same functionality of the ~/.bash_profile
but in ZSH, you can put (almost) all the same code in a file at ~/.zshrc
. ZSH is not BASH, so not all commands from BASH will work with ZSH, and not all commands from ZSH will work in BASH, but they're similar enough that the basic things you might have after taking a Treehouse course in your ~/.bash_profile
will probably still work just fine. If you've been able to successfully source ~/.bash_profile
, it'll definitely still work
To quickly copy your ~/.bash_profile
into a ~/.zshrc
, you can simply run:
mv ~/.bash_profile ~/.zshrc
karan
1,071 PointsInstalling Anaconda using the command line installer and using terminal to manually select the installation location as the user's home folder in Big Sur fixes any issues related to zsh: command not found errors. Anaconda's graphic installer installs the application in the "opt" folder which is hidden and may cause some issues when working in terminal.