Skip to content

Nx Conf on October 17th in Phoenix AZ!Nx Conf on October 17th in Phoenix AZ, do not miss it! Tickets, Speakers, Schedule and more →

Main navigation

Nx DocsNx Cloud DocsPackagesCommunityNx ConfNx CloudNx ConsultingNx on Github
14k+
  • Getting Started
    • Intro to Nx
    • Core Tutorial
    • React Tutorial
    • Angular Tutorial
    • Node Tutorial
    Core Features
    • Run Tasks
    • Cache Task Results
    • Explore the Graph
    • Distribute Task Execution
    • Integrate with Editors
    • Automate Updating Dependencies
    • Enforce Project Boundaries
    Plugin Features
    • Use Task Executors
    • Use Code Generators
    • Create Your Own Plugin
    Concepts
    • Integrated Repos vs. Package-Based Repos
    • Mental Model
    • How Caching Works
    • Distributed Task Execution Guide
    • Task Pipeline Configuration
    • Affected
    • More Concept Guides »
    Recipes
    • CI Setup
    • Adopting Nx
    • All Recipes »
    Reference
    • Commands
    • nx.json
    • Project Configuration
    • .nxignore
    • Environment Variables
    • Packages
    • Nx Devkit

init

Adds nx.json file and installs nx if not installed already

Usage

nx init

Install nx globally to invoke the command directly using nx, or use npx nx, yarn nx, or pnpx nx.

Report an issueEdit this page

Footer

Nx

Smart, Fast and Extensible Build System

TwitterGitHubSlackNewsletter

Resources

  • Blog
  • Youtube Channel
  • Nx Playbook
  • Nrwl
  • Press kit

Help

  • Documentation
  • Community
  • StackOverflow
  • Report Issues

Community

  • Twitter
  • Github
  • Newsletter
  • Slack
  • Help Us

Solutions

  • Nx
  • NxCloud
  • Nrwl

© 2022 made with by