No Esta Facil
  • 🌎About No Esta Facil
    • 👨‍💻GitHub
    • 📷Photography
    • 🗣️My Speaker Bio
    • 🤝Disclaimer
    • 📈Guilt Pile
      • Principal.dev
      • Tech Rocks Asia
  • 📚Book Reviews
    • Sports
      • Ben Hogan's Five Lessons
    • Productivity
      • Smart Brevity
      • Nine Lies About Work: A Freethinking Leader’s Guide to the Real World
      • Think Again
      • Mastery
      • Talk Like Ted
      • The Hard Thing About Hard Things
      • The Courage to Be Disliked by Fumitake Koga and Ichiro Kishimi
    • Classic Texts
      • The Book of five rings
    • Technology
      • Amplifying Your Effectiveness: A Gem in Professional Growth Literature
      • AI Superpowers: China, Silicon Valley, and the New World Order
      • The Age of Agile
    • Business
      • Start with No by Jim Camp
      • Zero to One: Notes on Startups, or How to Build the Future by Peter Thiel
    • Health, fitness, and dieting
      • Outlive
    • Culture
      • Solito by Javier Zamora
  • Daily Goods
    • Continuous Education
      • Expanding Your Vocabulary
    • 🌵Cultura
      • Food
        • BBQ’n Like a Pro: Rub Recipes for Pork, Brisket, and Chicken
        • The Ultimate Mashed Potatoes with Bacon and Roasted Garlic
  • 🏌️My Golf Journey
    • Teeing off at ...
      • Oaks Quarry Golf, Riverside, CA
      • Education City Golf Club, Qatar, Doha
      • The Links at Spanish Bay, Pebble Beach, CA
      • Bayonet, Seaside, CA
      • Alta Sierra Country Club, Grass Valley, CA
    • Training
  • 📝Monthly Highlights [in TL;DR format]
    • FY23
      • El Periódico - July 2023
      • El Periódico - December 2023
      • El Periódico - April 2023
      • El Periódico - March 2023
      • El Periódico - February 2023
      • El Periódico - January 2023
      • El Periódico - December 2022
    • FY24
      • January 2024
      • February 2024
      • March 2024
      • April 2024
    • FY25
  • 👨‍💻The section on Software Engineering
    • ChatGPT Prompts
      • Usages
        • What are some flutter architectures?
      • Prompt Templates
        • Answer Misconceptions
    • Conferences and Bootcamps
      • Google Cloud BootCamp
      • Principal Developer Masterclass
    • Customer Engagement
      • Awards - Customer Hero
    • Engineering Manager
      • Mobile Application Development
        • Flutter Journal
          • App Release Resources
        • Accelerate Your Go-to-Market Strategy with Flutter
      • Understanding the Meaning of Software Requirements
      • Design Principles
        • Coupling
        • Routine
        • Software Design
          • The Trinity of Software Architecture: Coupling, Cohesion, and Information Hiding
      • General
        • Engineering Meetings
          • Steering the Conversation: Effective Strategies for Keeping Meetings Focused and Productive
    • Project Owner
      • Project Pressure, It Happens!
      • Strategic Leadership and Planning
    • Software Engineering
      • Overview
      • Design Patterns
        • Categories of Design Patterns
        • Choosing the Right Design Pattern for Problem-Solving in Programming
        • Singleton
      • Programming Languages
        • JavaScript
      • Toolkits
        • iTerm2
        • Developing on a Windows 11 machine
          • Setting up Typscript env
        • VS Code Extension
        • HTTPie
      • Best Practices
        • Pull Requests (PR's)
    • Solutions Engineer
      • Communication with executives
      • SE Toolkit
        • The Importance of Retros in Integration Processes
        • Meetings
          • Preparing for a Customer Meeting (Project-Based or Recurring)
          • Conducting a Productive Customer Meeting
          • Prepare and Send a Concise and Actionable Meeting Summary
            • Meeting Summary Template
        • Documentation
          • Adding an important notes section
          • Useful Resources
  • 🛫Travel
    • Asia
      • Singapore
      • Japan
      • South Korea
      • China
      • India
    • Caribbean Sea
      • Cuba
    • Europe
      • North America
        • Mexico
          • Guadalajara
        • Canada
    • Oceania
      • Fiji
    • Middle East
      • Dubai
      • Qatar
    • South America
      • Brazil
      • Peru
      • Columbia
    • In the planning stage ...
      • Antarctica
      • Africa
Powered by GitBook
On this page
  1. The section on Software Engineering
  2. Software Engineering
  3. Toolkits
  4. Developing on a Windows 11 machine

Setting up Typscript env

PreviousDeveloping on a Windows 11 machineNextVS Code Extension

Last updated 8 months ago

You will need to install several vital tools to set up your Windows 11 PC to successfully develop your TypeScript and Next.js website. Here’s a step-by-step guide:

1. Install Node.js and npm

Node.js is required to run JavaScript/TypeScript outside of a browser. When you install Node.js, it comes with npm (Node Package Manager), which is used to install libraries and tools.

  • Visit .

  • Download and install the LTS version (as it’s more stable).

  • After installation, verify the installation by running the following commands in your terminal (Command Prompt or PowerShell):

    node -v
    npm -v

This will display the version of Node.js and npm, confirming they were installed successfully.

2. Install Git

You’ll likely need Git for version control and working with GitHub or other Git-based repositories.

  • Visit the to download and install Git.

  • During installation, choose the default options unless you need a specific configuration.

  • Verify the installation by running the following command:

    git --version

3. Install Visual Studio Code (VS Code)

VS Code is a lightweight yet powerful code editor with excellent support for TypeScript, Next.js, and JavaScript.

  • After installation, open VS Code and install the following extensions to enhance your development experience:

    • ESLint (for linting your code)

    • Prettier (for code formatting)

    • TypeScript (for TypeScript support)

    • Next.js Snippets (for Next.js-specific code snippets)

    • GitLens (for better Git integration)

4. Install Next.js

Next.js requires you to initialize a new project. First, you’ll need to install it using npm or yarn.

  1. Open your terminal and run the following command to install Next.js with create-next-app:

    npx create-next-app@latest
  2. Follow the prompts to set up your Next.js app. This will automatically install all necessary dependencies.

  3. Change into your project directory and start the development server:

    cd your-project-name
    npm run dev

Your Next.js app should now be running at http://localhost:3000.

5. Install TypeScript

Next.js supports TypeScript out of the box. However, you may need to install TypeScript if it’s not included:

  1. Inside your project directory, run the following command to install TypeScript and the necessary type definitions:

    npm install --save-dev typescript @types/react @types/node
  2. Create a tsconfig.json file in the root directory of your project by running:

    npx tsc --init

This command initializes the TypeScript configuration for your project.

6. Install Docker (Optional but Recommended)

If you plan to work with containers for local development or for deployment, you’ll need Docker:

  • After installation, verify Docker is running by running:

    docker --version

7. Install GCP / AWS CLI

To interact with your GCP or AWS environment directly from your terminal, you’ll need their respective CLI tools:

For GCP:

  1. Follow the instructions to install it on Windows.

  2. Authenticate your SDK using:

    gcloud init

For AWS:

  1. Configure the CLI using your AWS credentials:

    aws configure

You’ll be prompted to enter your Access Key ID, Secret Access Key, Region, and Output Format.

8. Install Stripe CLI (for payments)

To test and develop payment flows locally, Stripe provides a CLI tool:

  1. After installation, authenticate it using your Stripe account by running:

    stripe login
  2. You can use the Stripe CLI to forward webhooks, test payments, and more:

    stripe listen --forward-to localhost:3000/api/webhooks

9. Install Postman (Optional but Helpful for API Testing)

Postman is a powerful tool that lets you easily send requests and inspect responses when testing your APIs.

10. Install Linter and Formatter (ESLint and Prettier)

Ensure consistent code quality by setting up ESLint and Prettier:

  1. Inside your Next.js project, install ESLint and Prettier:

    npm install eslint prettier eslint-plugin-prettier eslint-config-prettier --save-dev
  2. Create a .eslintrc.json file for your ESLint configuration and a .prettierrc file for Prettier. This helps enforce code quality and formatting throughout your project.

Final Checks:

  • Make sure all tools and configurations are working correctly by running a simple npm run dev command to start your Next.js app, and ensure it runs successfully in your browser.

By setting up these tools, you'll have a robust development environment on Windows 11 to develop your TypeScript and Next.js website successfully.

Download and install .

Download and install Docker Desktop from .

Download the .

Download and install the .

Download the for Windows.

Download and install .

👨‍💻
Node.js Downloads
Git website
Visual Studio Code
here
Google Cloud SDK
AWS CLI
Stripe CLI
Postman