Overview

Installing Craft Nitro

In this video, I guide you through the process of installing and configuring Craft Nitro on your Mac. By following these steps, you can set up a local development environment for Craft CMS effortlessly. We first installed Multipass to run Craft Nitro. We then copied and executed the bash terminal code to download the necessary components. After setting up the local environment, we configured Nitro with PHP 7.4 and MySQL. Finally, we created a new database, installed Composer, and set up Craft CMS. The result was a fully functional local Craft installation, complete with access to the admin panel.

Summary

  1. Installing Multipass: The tutorial begins with the installation of Multipass, which is required to run Craft Nitro. This setup allows us to create a virtualized development environment.
  2. Configuring Nitro: After installing Multipass, we open the terminal and run specific commands to initialize Nitro, setting it up with PHP 7.4 and MySQL.
  3. Copying Bash Commands: We copy the provided bash terminal code and execute it, which starts downloading the necessary files onto our computer.
  4. Sudo Permissions: If you encounter permission issues, prepend sudo to the command to ensure it runs with administrative privileges.
  5. Database Creation: Using SQL Pro, we connect to the Nitro server and create a new database named craft-new, which will be used for the Craft CMS installation.
  6. Installing Composer: Composer is installed within Nitro using the terminal command nitro install composer, which is essential for managing dependencies.
  7. Craft CMS Installation: We download Craft CMS, unzip the folder, and place it in our projects directory. Terminal commands are used to navigate and list directory contents.
  8. Adding Local Domains: Nitro allows us to add local domains ending with .test. We configure this using terminal commands and update the hosts file with the appropriate IP address.
  9. Editing .env File: Hidden files are revealed and edited to include the Nitro IP address and database credentials, ensuring Craft CMS connects to the correct database.
  10. Final Configuration: The Craft CMS installation is completed through the terminal, setting up the site name and URL, and accessing the admin panel to finalize the configuration.

Highlights

👨‍💻 Multipass Installation: We started by installing Multipass, which is essential for running Craft Nitro.

🖥️ Terminal Commands: Various terminal commands were used to set up and configure the environment, including downloading and initializing Nitro, and adding domains.

📁 Database Setup: We created a new database using SQL Pro and configured Craft CMS with the necessary database credentials.

HTML & Craft Twig Files

Overview

Installing Craft Nitro

In this video, I guide you through the process of installing and configuring Craft Nitro on your Mac. By following these steps, you can set up a local development environment for Craft CMS effortlessly. We first installed Multipass to run Craft Nitro. We then copied and executed the bash terminal code to download the necessary components. After setting up the local environment, we configured Nitro with PHP 7.4 and MySQL. Finally, we created a new database, installed Composer, and set up Craft CMS. The result was a fully functional local Craft installation, complete with access to the admin panel.

Summary

  1. Installing Multipass: The tutorial begins with the installation of Multipass, which is required to run Craft Nitro. This setup allows us to create a virtualized development environment.
  2. Configuring Nitro: After installing Multipass, we open the terminal and run specific commands to initialize Nitro, setting it up with PHP 7.4 and MySQL.
  3. Copying Bash Commands: We copy the provided bash terminal code and execute it, which starts downloading the necessary files onto our computer.
  4. Sudo Permissions: If you encounter permission issues, prepend sudo to the command to ensure it runs with administrative privileges.
  5. Database Creation: Using SQL Pro, we connect to the Nitro server and create a new database named craft-new, which will be used for the Craft CMS installation.
  6. Installing Composer: Composer is installed within Nitro using the terminal command nitro install composer, which is essential for managing dependencies.
  7. Craft CMS Installation: We download Craft CMS, unzip the folder, and place it in our projects directory. Terminal commands are used to navigate and list directory contents.
  8. Adding Local Domains: Nitro allows us to add local domains ending with .test. We configure this using terminal commands and update the hosts file with the appropriate IP address.
  9. Editing .env File: Hidden files are revealed and edited to include the Nitro IP address and database credentials, ensuring Craft CMS connects to the correct database.
  10. Final Configuration: The Craft CMS installation is completed through the terminal, setting up the site name and URL, and accessing the admin panel to finalize the configuration.

Highlights

👨‍💻 Multipass Installation: We started by installing Multipass, which is essential for running Craft Nitro.

🖥️ Terminal Commands: Various terminal commands were used to set up and configure the environment, including downloading and initializing Nitro, and adding domains.

📁 Database Setup: We created a new database using SQL Pro and configured Craft CMS with the necessary database credentials.

HTML & Craft Twig Files
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.