Back to blog

Development Environment Configuration: Node.js, Npm and VS Code

Hello HaWkers, this is the second article in our series of articles that will cover the depth of our JavaScript Roadmap - EVERYTHING you need to Learn πŸ¦…. If you don't know what I'm talking about, click on the previous link.

Well, let's get started!

When we begin our development journey, one of the first and most crucial steps is setting up the development environment. A proper setup allows us to work efficiently and without interruptions. Let's learn how to install and configure the essential tools for a modern development environment.

Advertisement

Node.js and Npm installation

Windows

  1. Go to Node.js official website.
  2. Choose the LTS (Long Term Support) version and download.
  3. Run the downloaded installer and follow the instructions, which will include installing Node.js and Npm.
  4. After installation, open the terminal and verify the installations with the node -v and npm -v commands.

Linux/Mac

  1. In the terminal, for Debian-based distributions (such as Ubuntu), use the commands:
sudo apt updatesudo apt install nodejs npm
  1. For Mac, using Homebrew:
brew updatebrew install node
  1. Check installations with the node -v and npm -v commands.

Text Editor: Visual Studio Code

Visual Studio Code (VS Code) is a lightweight yet powerful code editor that supports a variety of programming languages ​​and has a wide range of extensions available.

Advertisement

Installing Visual Studio Code on Windows

  1. Go to VS Code official website.
  2. Click the download button for Windows and wait for the file to download.
  3. Run the installer and follow the on-screen instructions. I recommend checking the "Add to PATH" and "Create a desktop icon" options for easier access.
  4. After installation, open VS Code from the Start menu or desktop icon.

Installing Visual Studio Code on Mac

  1. Go to VS Code official website.
  2. Click the download button for macOS.
  3. After downloading, open the downloaded .zip file and drag the VS Code app to your Applications folder.
  4. You can now open VS Code from the Applications folder or pin it to the Dock for quick access.

Installing Visual Studio Code on Linux

  1. Go to VS Code official website.
  2. Select the appropriate package for your distribution (.deb for Debian/Ubuntu or .rpm for Fedora).
  3. In the terminal, go to the folder where the package was downloaded.
  4. For Debian-based distributions:
sudo dpkg -i package_name.deb

For Fedora-based distributions:

sudo dnf install package_name.rpm
  1. VS Code will now be available in the applications menu.

Conclusion

Well HaWkers, as you can see, having a well-configured development environment is essential for an efficient workflow. With Node.js, Npm, and VS Code installed, you're ready to start programming and building amazing projects. And remember, I'm here to help every step of the way!

Back to JavaScript Roadmap - EVERYTHING you need to Learn πŸ¦….

Keep walking on this long journey of learning the most popular programming language in the world.

Let's go up! πŸ¦…

Advertisement
Previous post Next post

Comments (0)

This article has no comments yet 😒. Be the first! πŸš€πŸ¦…

Add comments