🏡 Go back to homepage Get current directory in CLI Discover the basics of CLI Published Aug 3, 2021 It would be nice to know where we are, wouldn’t it? Let’s see. Type this command and press enter: $ pwd /Users/baransel Note: ‘pwd’ means “print working directory”. When you open the command line you usually start in your user’s home directory.