Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 800 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 800 Bytes

Getting Started With Create Next App

  1. Make a git repository (or clone an empty repository from a remote).

    mkdir -p ~/git/next-app
    cd ~/git/next-app
    git init
  2. Install Yarn.

    npm install --global yarn
  3. Create a Next app.

    yarn create next-app .
  4. Disable telemetry.

    npx next telemetry disable

    This sets a flag in the Next configuration: ~/.config/nextjs-nodejs/config.json.

    {
        "telemetry": {
            "notifiedAt": "1642873541794",
            "anonymousId": "31d81dc158937266a7336e73c03e61348aa20702e42c9478fdefd1392ba10075",
            "salt": "b426ec4a6a76e3deebc65c921a8aaa63",
            "enabled": false
        }
    }
  5. Commit and push.