![]() ![]() Sudo npm i -g gulp postcss Node Version Manager Run the following commands: sudo npm install gulp-cli -g ![]() Some of the legacy projects use them, so I might have it ready. I installed Gulp and PostCss plugin for Gulp. Sudo chown -R $(whoami) /usr/local/lib/node_modules Make sure that /usr/local/bin is in your $PATH.Īfter installation, run these two commands: sudo chown -R $(whoami) ~/.npm Node.js v16.13.1 to /usr/local/bin/node.This will install the following at these locations: Some of the development tools and build processes I use for clients rely on these so I like to have them ready.ĭownload and install the packages. Node.js is a JavaScript runtime environment and npm is a package manager. In my older Mac, it was installed under /usr/local/bin Node/npm NOTE: If you are on the Apple chip, home brew is installed on /opt/homebrew/bin This makes sure the account you’re logged in as has ownership of the homebrew folders and prevents permission errors later on. Next, run the following command: sudo chown -R $(whoami) ~/.config Once the installation is complete, run these two commands in your terminal to add Homebrew to your PATH: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' > /Users/femypraseeth/.zprofileĮval "$(/opt/homebrew/bin/brew shellenv)" You will be prompted a few times to enter the ‘admin’ password during the installation. If your Mac doesn’t have Xcode installed (which is more than likely since this is a new mac) this will also install Xcode. Run the following command on the terminal to install Homebrew. ![]() Homebrew is a package manager that installs all the programs on the Mac that didn’t come installed by Apple. Clone the repositories that you work on, to your Mac. Occasionally I prefer to navigate Github using the GUI and I find Github for Desktop helpful enough for that. Change the Document root to where the Local Sites are installed. Go into the Local Sites > Tools Panel to do this. Log in with your Local account to start using the Add-ones.įor the Instant Reload, make sure to turn on the setting that automatically runs Instant Reload when you start the site. ![]() I find these two extremely useful when I build sites locally. I installed two Add-ons – Link checker and Instant Reload. On each of the two local sites, I turned on the One-click Admin feature from the site’s Overview Panel. I exported the data from my online sites using the All-in-One WP Migration plugin and then imported the data into the newly created local sites. I ended up creating 2 new local sites on the new Mac. I found exporting sites on the Local extremely slow to the point where my old Mac froze several times. For starters, I decided to set up two of my personal sites and add more as I start working on client websites. I wanted to have the minimal sites set up on the new mac. It has simplified my development workflow and I can’t recommend It enough. I use Local by Flywheel for my WordPress development. MAMP > Preferences > General > When starting MAMP I uninstall MAMP PRO right away as I don’t plan to buy the Pro version and know the license will expire after 14 days. Install MAMP (MAMP Pro gets installed by default). Your Site Manager connection settings are now saved into an XML file.Īll the FTP connection settings are now picked up from the XML and added to the Site Manager. Once you are happy with the sites, close the Site Manager. On my old Mac, open the Site Manager, do a quick clean up and delete all the sites that are not currently used(mostly old client site configurations). If you are like me and forgot your FTP client passwords, here is a quick way of setting up the FTP site configurations on the new mac. This will sync up my VS Code settings on multiple devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |