Use npx to download and configure templates such as create-react-app.Use npm to configure and run scripts such as webpack.Learning the terminal will enable you to complete tasks you already do (like navigate files and folders) more quickly as well as unlock new capabilities that make you more productive: Since I am convinced you’ll be spending more time in the terminal after this tutorial, I’ll also show you how to take the plain-looking terminal that comes with your Mac and turn it into something that looks like the screenshot below: Why do I need the terminal? That is, if by "dangerous", you mean the ability to run basic commands and work with files □. In this ✨ ultimate ✨ guide, you’ll learn enough about the terminal to be dangerous. As a newer web developer, is it worth learning the terminal?Īlthough the terminal can be daunting at first, I would argue it’s one of the best tools to increase your productivity (and look kind of stylish in the process.) Many web development-related tasks like installing code packages or uploading code to GitHub can be accomplished using graphical tools like Visual Studio Code nowadays. Equally, using the terminal isn’t something you’ve necessarily encountered the need to do yourself. Enter a new session name and hit enter, et voilà, your tab is renamed.When learning web development, you will likely come across someone who insists on using the terminal. You can change the name of the current tab by pressing cmd + i. # Once on a new mac, restore by copying file to this folder. Git commit -message "version control my iTerm2 config" # I have left the "git add remote" etc out and leave that up to you. plist file and has a rather unusual but specific name, namely: "". Normally, you would encounter folders in this directory, but iTerm2 uses a. Users/davidkuda/ and is synonymous to the environment variable $HOME. The tilde symbol (~) stands for your home directory, e.g. Your configuration is probably located at ~/.config/iterm2/. If you ever happen to change to another mac, it would take you long to change all the settings again to your likings (color theme, keymaps, status bar, etc.). To do so, open your iTerm2 settings with cmd +, from Profiles, choose yours, select "Session", and at the very bottom, you find the radio button to activate the status bar (wow, it's really well hidden"). You may have noticed my status bar in the screenshots above. You can add system information to the bottom of your terminal by activating the "status bar". I find this even worse than the light mode, since the dark gray of the Mac's dark mode isn't really working so well with the dark theme of the color scheme. The Regular Theme During Night (Dark Mode) Notice how much of a break this leads too! A shame that this is the default and the way more beautiful looking minimal theme is so hidden and has to be discovered. The Regular Theme During Daytime (Light Mode) Notice how well and seamlessly the tabs at the top integrate with your color scheme! wonderful, delightful, joyful. Now let's compare the minimal theme with the regular theme. You can avoid that by using iTerm2's minimal theme.Ĭhoose "Appearance", from "Theme", select "minimal". If you use a color theme like the popular catpuccin or rosé pine (the theme I use) then most likely the Mac standard light / dark theme will interfere with your color scheme. Use The Minimal Theme For a Better Look of The Top Bar And Your Tabs The string that gets executed is an escape code that iTerm2 offers to be used as an API to iTerm2. In the line two and three, you see that you call the function with an argument. This represents the first argument passed to the function. cmd + shift + d -> split window horizontally.cmd + shift + enter -> maximize current window (especially useful when you use split windows).cmd + enter -> activate / deactivate full screen.Here is a list of the keyboard shortcuts that I use the most: I strongly prefer using the keyboard over the mouse or touchpad, and there is a lot that you can achieve in iTerm2 with the keyboard. There are a few settings which will make your iTerm2 experience even better. In fact, I think most think it's the better alternative to the Mac's standard terminal. ITerm2 is a fantastic terminal app for your mac. The Regular Theme During Night (Dark Mode).The Regular Theme During Daytime (Light Mode).Use The Minimal Theme For a Better Look of The Top Bar And Your Tabs.Change Your Color Preset With dark() and light().Cycle The Pane Focus With Your Keyboard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |