From dc9c21d7539041c64e846debea0016eea6151445 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Mon, 1 Jun 2020 13:03:51 -0400 Subject: [PATCH] Suggest `npx` over `npm init` --- contributing.md | 2 +- examples/active-class-name/README.md | 2 +- examples/amp-first/README.md | 2 +- examples/amp-story/README.md | 2 +- examples/amp/README.md | 2 +- examples/analyze-bundles/README.md | 2 +- examples/api-routes-apollo-server-and-client/README.md | 2 +- examples/api-routes-apollo-server/README.md | 2 +- examples/api-routes-cors/README.md | 2 +- examples/api-routes-graphql/README.md | 2 +- examples/api-routes-middleware/README.md | 2 +- examples/api-routes-rest/README.md | 2 +- examples/api-routes/README.md | 2 +- examples/auth0/README.md | 2 +- examples/basic-css/README.md | 2 +- examples/basic-export/README.md | 2 +- examples/blog-starter-typescript/README.md | 2 +- examples/blog-starter/README.md | 2 +- examples/catch-all-routes/README.md | 2 +- examples/cms-contentful/README.md | 2 +- examples/cms-datocms/README.md | 2 +- examples/cms-prismic/README.md | 2 +- examples/cms-sanity/README.md | 2 +- examples/cms-takeshape/README.md | 2 +- examples/custom-server-actionhero/README.md | 2 +- examples/custom-server-express/README.md | 2 +- examples/custom-server-fastify/README.md | 2 +- examples/custom-server-hapi/README.md | 2 +- examples/custom-server-koa/README.md | 2 +- examples/custom-server-polka/README.md | 2 +- examples/custom-server-typescript/README.md | 2 +- examples/custom-server/README.md | 2 +- examples/data-fetch/README.md | 2 +- examples/dynamic-routing/README.md | 2 +- examples/gh-pages/README.md | 2 +- examples/head-elements/README.md | 2 +- examples/hello-world/README.md | 2 +- examples/layout-component/README.md | 2 +- examples/nested-components/README.md | 2 +- examples/progressive-render/README.md | 2 +- examples/ssr-caching/README.md | 2 +- examples/svg-components/README.md | 2 +- examples/using-preact/README.md | 2 +- examples/using-router/README.md | 2 +- examples/with-absolute-imports/README.md | 2 +- examples/with-algolia-react-instantsearch/README.md | 2 +- examples/with-ant-design-less/README.md | 2 +- examples/with-ant-design-mobile/README.md | 2 +- examples/with-ant-design-pro-layout-less/README.md | 2 +- examples/with-ant-design/README.md | 2 +- examples/with-aphrodite/README.md | 2 +- examples/with-apollo-and-redux/README.md | 2 +- examples/with-apollo/README.md | 2 +- examples/with-app-layout/README.md | 2 +- examples/with-astroturf/README.md | 2 +- examples/with-aws-amplify-typescript/README.md | 2 +- examples/with-aws-amplify/README.md | 2 +- examples/with-babel-macros/README.md | 2 +- examples/with-carbon-components/README.md | 2 +- examples/with-cerebral/README.md | 2 +- examples/with-chakra-ui/README.md | 2 +- examples/with-context-api/README.md | 2 +- examples/with-cookie-auth-fauna/README.md | 2 +- examples/with-custom-babel-config/README.md | 2 +- examples/with-custom-reverse-proxy/README.md | 2 +- examples/with-cxs/README.md | 2 +- examples/with-docker/README.md | 2 +- examples/with-dotenv/README.md | 2 +- examples/with-draft-js/README.md | 2 +- examples/with-dynamic-app-layout/README.md | 2 +- examples/with-dynamic-import/README.md | 2 +- examples/with-electron-typescript/README.md | 2 +- examples/with-electron/README.md | 2 +- examples/with-emotion-11/README.md | 2 +- examples/with-emotion/README.md | 2 +- examples/with-env-from-next-config-js/README.md | 2 +- examples/with-fela/README.md | 2 +- examples/with-firebase-cloud-messaging/README.md | 2 +- examples/with-firebase-hosting/README.md | 2 +- examples/with-flow/README.md | 2 +- examples/with-framer-motion/README.md | 2 +- examples/with-glamor/README.md | 2 +- examples/with-google-analytics-amp/README.md | 2 +- examples/with-google-analytics/README.md | 2 +- examples/with-graphql-faunadb/README.md | 2 +- examples/with-graphql-hooks/README.md | 2 +- examples/with-graphql-react/README.md | 2 +- examples/with-grommet/README.md | 2 +- examples/with-hls-js/README.md | 2 +- examples/with-http2/README.md | 2 +- examples/with-i18n-rosetta/README.md | 2 +- examples/with-kea/README.md | 2 +- examples/with-linaria/README.md | 2 +- examples/with-lingui/README.md | 2 +- examples/with-loading/README.md | 2 +- examples/with-magic/README.md | 2 +- examples/with-mdx/README.md | 2 +- examples/with-mobx-react-lite/README.md | 2 +- examples/with-mobx-state-tree-typescript/README.md | 2 +- examples/with-mobx-state-tree/README.md | 2 +- examples/with-mobx/README.md | 2 +- examples/with-mocha/README.md | 2 +- examples/with-mongodb-mongoose/README.md | 2 +- examples/with-mux-video/README.md | 2 +- examples/with-netlify-cms/README.md | 2 +- examples/with-next-css/README.md | 2 +- examples/with-next-less/README.md | 2 +- examples/with-next-offline/README.md | 2 +- examples/with-next-page-transitions/README.md | 2 +- examples/with-next-sass/README.md | 2 +- examples/with-next-seo/README.md | 2 +- examples/with-next-translate/README.md | 2 +- examples/with-now-env/README.md | 2 +- examples/with-orbit-components/README.md | 2 +- examples/with-overmind/README.md | 2 +- examples/with-passport/README.md | 2 +- examples/with-patternfly/README.md | 2 +- examples/with-polyfills/README.md | 2 +- examples/with-portals-ssr/README.md | 2 +- examples/with-portals/README.md | 2 +- examples/with-prefetching/README.md | 2 +- examples/with-quill-js/README.md | 2 +- examples/with-rbx-bulma-pro/README.md | 2 +- examples/with-react-bootstrap/README.md | 2 +- examples/with-react-ga/README.md | 2 +- examples/with-react-helmet/README.md | 2 +- examples/with-react-intl/README.md | 2 +- examples/with-react-jss/README.md | 2 +- examples/with-react-md/README.md | 2 +- examples/with-react-multi-carousel/README.md | 2 +- examples/with-react-native-web/README.md | 2 +- examples/with-react-relay-network-modern/README.md | 2 +- examples/with-react-toolbox/README.md | 2 +- examples/with-react-with-styles/README.md | 2 +- examples/with-reason-relay/README.md | 2 +- examples/with-reasonml-todo/README.md | 2 +- examples/with-reasonml/README.md | 2 +- examples/with-rebass/README.md | 2 +- examples/with-redux-code-splitting/README.md | 2 +- examples/with-redux-observable/README.md | 2 +- examples/with-redux-persist/README.md | 2 +- examples/with-redux-saga/README.md | 2 +- examples/with-redux-thunk/README.md | 2 +- examples/with-redux-wrapper/README.md | 2 +- examples/with-redux/README.md | 2 +- examples/with-reflux/README.md | 2 +- examples/with-relay-modern/README.md | 2 +- examples/with-rematch/README.md | 2 +- examples/with-segment-analytics/README.md | 2 +- examples/with-semantic-ui/README.md | 2 +- examples/with-sentry-simple/README.md | 2 +- examples/with-sentry/README.md | 2 +- examples/with-shallow-routing/README.md | 2 +- examples/with-slate/README.md | 2 +- examples/with-static-export/README.md | 2 +- examples/with-stitches-styled/README.md | 2 +- examples/with-stitches/README.md | 2 +- examples/with-stomp/README.md | 2 +- examples/with-storybook/README.md | 2 +- examples/with-strict-csp/README.md | 2 +- examples/with-stripe-typescript/README.md | 2 +- examples/with-style-sheet/README.md | 2 +- examples/with-styled-components-rtl/README.md | 2 +- examples/with-styled-components/README.md | 2 +- examples/with-styled-jsx-plugins/README.md | 2 +- examples/with-styled-jsx-scss/README.md | 2 +- examples/with-styletron/README.md | 2 +- examples/with-tailwindcss-emotion/README.md | 2 +- examples/with-tailwindcss/README.md | 2 +- examples/with-typescript-graphql/README.md | 2 +- examples/with-typescript-styled-components/README.md | 2 +- examples/with-typescript/README.md | 2 +- examples/with-typestyle/README.md | 2 +- examples/with-universal-configuration-build-time/README.md | 2 +- examples/with-universal-configuration-runtime/README.md | 2 +- examples/with-unstated/README.md | 2 +- examples/with-urql/README.md | 2 +- examples/with-userbase/README.md | 2 +- examples/with-videojs/README.md | 2 +- examples/with-web-worker/README.md | 2 +- examples/with-webassembly/README.md | 2 +- examples/with-webpack-bundle-size-analyzer/README.md | 2 +- examples/with-xstate/README.md | 2 +- examples/with-yarn-workspaces/README.md | 2 +- examples/with-zeit-fetch/README.md | 2 +- examples/with-zones/README.md | 2 +- 186 files changed, 186 insertions(+), 186 deletions(-) diff --git a/contributing.md b/contributing.md index 7bc0271e625f4..1e027bd5dad3a 100644 --- a/contributing.md +++ b/contributing.md @@ -143,7 +143,7 @@ Deploy the example using [Vercel](https://vercel.com/now): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example DIRECTORY_NAME DIRECTORY_NAME-app +npx create-next-app --example DIRECTORY_NAME DIRECTORY_NAME-app # or yarn create next-app --example DIRECTORY_NAME DIRECTORY_NAME-app ``` diff --git a/examples/active-class-name/README.md b/examples/active-class-name/README.md index 891665503f7d2..da807b41cf465 100644 --- a/examples/active-class-name/README.md +++ b/examples/active-class-name/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example active-class-name active-class-name-app +npx create-next-app --example active-class-name active-class-name-app # or yarn create next-app --example active-class-name active-class-name-app ``` diff --git a/examples/amp-first/README.md b/examples/amp-first/README.md index 2f8279f8a3f77..5573de7681202 100644 --- a/examples/amp-first/README.md +++ b/examples/amp-first/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example amp-first amp-first-app +npx create-next-app --example amp-first amp-first-app # or yarn create next-app --example amp-first amp-first-app ``` diff --git a/examples/amp-story/README.md b/examples/amp-story/README.md index 1ba7626ec07d9..e690f6312fa91 100644 --- a/examples/amp-story/README.md +++ b/examples/amp-story/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example amp-story amp-app +npx create-next-app --example amp-story amp-app # or yarn create next-app --example amp-story amp-app ``` diff --git a/examples/amp/README.md b/examples/amp/README.md index b70a6f0487463..4507fef6b135c 100644 --- a/examples/amp/README.md +++ b/examples/amp/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example amp amp-app +npx create-next-app --example amp amp-app # or yarn create next-app --example amp amp-app ``` diff --git a/examples/analyze-bundles/README.md b/examples/analyze-bundles/README.md index b8610577e50fe..348704a5d9600 100644 --- a/examples/analyze-bundles/README.md +++ b/examples/analyze-bundles/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example analyze-bundles analyze-bundles-app +npx create-next-app --example analyze-bundles analyze-bundles-app # or yarn create next-app --example analyze-bundles analyze-bundles-app ``` diff --git a/examples/api-routes-apollo-server-and-client/README.md b/examples/api-routes-apollo-server-and-client/README.md index 7c93f06e9038f..b2004003aca2b 100644 --- a/examples/api-routes-apollo-server-and-client/README.md +++ b/examples/api-routes-apollo-server-and-client/README.md @@ -16,7 +16,7 @@ https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app +npx create-next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app # or yarn create next-app --example api-routes-apollo-server-and-client api-routes-apollo-server-and-client-app ``` diff --git a/examples/api-routes-apollo-server/README.md b/examples/api-routes-apollo-server/README.md index 027200af8e724..a0880f52c391c 100644 --- a/examples/api-routes-apollo-server/README.md +++ b/examples/api-routes-apollo-server/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-apollo-server api-routes-apollo-server-app +npx create-next-app --example api-routes-apollo-server api-routes-apollo-server-app # or yarn create next-app --example api-routes-apollo-server api-routes-apollo-server-app ``` diff --git a/examples/api-routes-cors/README.md b/examples/api-routes-cors/README.md index 2e92f2e347353..a94d6e735466b 100644 --- a/examples/api-routes-cors/README.md +++ b/examples/api-routes-cors/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-cors api-routes-cors-app +npx create-next-app --example api-routes-cors api-routes-cors-app # or yarn create next-app --example api-routes-cors api-routes-cors-app ``` diff --git a/examples/api-routes-graphql/README.md b/examples/api-routes-graphql/README.md index acdd995c989a5..34d86ff571e0a 100644 --- a/examples/api-routes-graphql/README.md +++ b/examples/api-routes-graphql/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-graphql api-routes-graphql-app +npx create-next-app --example api-routes-graphql api-routes-graphql-app # or yarn create next-app --example api-routes-graphql api-routes-graphql-app ``` diff --git a/examples/api-routes-middleware/README.md b/examples/api-routes-middleware/README.md index 2a9a357e85af6..b4c34705a7a19 100644 --- a/examples/api-routes-middleware/README.md +++ b/examples/api-routes-middleware/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-middleware api-routes-middleware-app +npx create-next-app --example api-routes-middleware api-routes-middleware-app # or yarn create next-app --example api-routes-middleware api-routes-middleware-app ``` diff --git a/examples/api-routes-rest/README.md b/examples/api-routes-rest/README.md index 07f8fe8875035..7f2726f6cac72 100644 --- a/examples/api-routes-rest/README.md +++ b/examples/api-routes-rest/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes-rest api-routes-rest-app +npx create-next-app --example api-routes-rest api-routes-rest-app # or yarn create next-app --example api-routes-rest api-routes-rest-app ``` diff --git a/examples/api-routes/README.md b/examples/api-routes/README.md index 538f0f7b053b8..bdf46def5a2ec 100644 --- a/examples/api-routes/README.md +++ b/examples/api-routes/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example api-routes api-routes-app +npx create-next-app --example api-routes api-routes-app # or yarn create next-app --example api-routes api-routes-app ``` diff --git a/examples/auth0/README.md b/examples/auth0/README.md index 63fff2036edb0..0c68513820e98 100644 --- a/examples/auth0/README.md +++ b/examples/auth0/README.md @@ -9,7 +9,7 @@ Read more: [https://auth0.com/blog/ultimate-guide-nextjs-authentication-auth0/]( Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example auth0 auth0 +npx create-next-app --example auth0 auth0 # or yarn create next-app --example auth0 auth0 ``` diff --git a/examples/basic-css/README.md b/examples/basic-css/README.md index a70b111f6e506..4459f0abb4194 100644 --- a/examples/basic-css/README.md +++ b/examples/basic-css/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example basic-css basic-css-app +npx create-next-app --example basic-css basic-css-app # or yarn create next-app --example basic-css basic-css-app ``` diff --git a/examples/basic-export/README.md b/examples/basic-export/README.md index b2e2289213d9b..91fcaff3fc6b4 100644 --- a/examples/basic-export/README.md +++ b/examples/basic-export/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example basic-export basic-export-app +npx create-next-app --example basic-export basic-export-app # or yarn create next-app --example basic-export basic-export-app ``` diff --git a/examples/blog-starter-typescript/README.md b/examples/blog-starter-typescript/README.md index 05665b15cff81..a997a2107181d 100644 --- a/examples/blog-starter-typescript/README.md +++ b/examples/blog-starter-typescript/README.md @@ -15,7 +15,7 @@ To create the blog posts we use [`remark`](https://github.com/remarkjs/remark) a Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example blog-starter-typescript blog-starter-typescript-app +npx create-next-app --example blog-starter-typescript blog-starter-typescript-app # or yarn create next-app --example blog-starter-typescript blog-starter-typescript-app ``` diff --git a/examples/blog-starter/README.md b/examples/blog-starter/README.md index 0f1e97dcede47..2054201feb45b 100644 --- a/examples/blog-starter/README.md +++ b/examples/blog-starter/README.md @@ -25,7 +25,7 @@ To create the blog posts we use [`remark`](https://github.com/remarkjs/remark) a Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example blog-starter blog-starter-app +npx create-next-app --example blog-starter blog-starter-app # or yarn create next-app --example blog-starter blog-starter-app ``` diff --git a/examples/catch-all-routes/README.md b/examples/catch-all-routes/README.md index f2f8db79ea8d7..9a8a4e1b43c62 100644 --- a/examples/catch-all-routes/README.md +++ b/examples/catch-all-routes/README.md @@ -24,7 +24,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example catch-all-routes catch-all-routes-app +npx create-next-app --example catch-all-routes catch-all-routes-app # or yarn create next-app --example catch-all-routes catch-all-routes-app ``` diff --git a/examples/cms-contentful/README.md b/examples/cms-contentful/README.md index 044d9d928da83..62d5af0311e83 100644 --- a/examples/cms-contentful/README.md +++ b/examples/cms-contentful/README.md @@ -19,7 +19,7 @@ This example showcases Next.js's [Static Generation](/docs/basic-features/pages. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example cms-contentful cms-contentful-app +npx create-next-app --example cms-contentful cms-contentful-app # or yarn create next-app --example cms-contentful cms-contentful-app ``` diff --git a/examples/cms-datocms/README.md b/examples/cms-datocms/README.md index 076529cbab02a..bf01d8022afb3 100644 --- a/examples/cms-datocms/README.md +++ b/examples/cms-datocms/README.md @@ -20,7 +20,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example cms-datocms cms-datocms-app +npx create-next-app --example cms-datocms cms-datocms-app # or yarn create next-app --example cms-datocms cms-datocms-app ``` diff --git a/examples/cms-prismic/README.md b/examples/cms-prismic/README.md index 55343c3092c57..67cf2b5983605 100644 --- a/examples/cms-prismic/README.md +++ b/examples/cms-prismic/README.md @@ -21,7 +21,7 @@ This example showcases Next.js's [Static Generation](/docs/basic-features/pages. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example cms-prismic cms-prismic-app +npx create-next-app --example cms-prismic cms-prismic-app # or yarn create next-app --example cms-prismic cms-prismic-app ``` diff --git a/examples/cms-sanity/README.md b/examples/cms-sanity/README.md index e1f91e95eee98..80c8c792e958d 100644 --- a/examples/cms-sanity/README.md +++ b/examples/cms-sanity/README.md @@ -21,7 +21,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example cms-sanity cms-sanity-app +npx create-next-app --example cms-sanity cms-sanity-app # or yarn create next-app --example cms-sanity cms-sanity-app ``` diff --git a/examples/cms-takeshape/README.md b/examples/cms-takeshape/README.md index a6815783b985c..7a1dbe3b573d9 100644 --- a/examples/cms-takeshape/README.md +++ b/examples/cms-takeshape/README.md @@ -21,7 +21,7 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example cms-takeshape cms-takeshape-app +npx create-next-app --example cms-takeshape cms-takeshape-app # or yarn create next-app --example cms-takeshape cms-takeshape-app ``` diff --git a/examples/custom-server-actionhero/README.md b/examples/custom-server-actionhero/README.md index 91f3a64380561..30cd6044acaa4 100644 --- a/examples/custom-server-actionhero/README.md +++ b/examples/custom-server-actionhero/README.md @@ -12,7 +12,7 @@ A more detailed example showcasing how to use fetch and web sockets to interact Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-actionhero custom-server-actionhero-app +npx create-next-app --example custom-server-actionhero custom-server-actionhero-app # or yarn create next-app --example custom-server-actionhero custom-server-actionhero-app ``` diff --git a/examples/custom-server-express/README.md b/examples/custom-server-express/README.md index 9643e32bdd506..a59be97c9b209 100644 --- a/examples/custom-server-express/README.md +++ b/examples/custom-server-express/README.md @@ -13,7 +13,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-express custom-server-express-app +npx create-next-app --example custom-server-express custom-server-express-app # or yarn create next-app --example custom-server-express custom-server-express-app ``` diff --git a/examples/custom-server-fastify/README.md b/examples/custom-server-fastify/README.md index ac5f88288fe59..d3d2b711f22cc 100644 --- a/examples/custom-server-fastify/README.md +++ b/examples/custom-server-fastify/README.md @@ -13,7 +13,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-fastify custom-server-fastify-app +npx create-next-app --example custom-server-fastify custom-server-fastify-app # or yarn create next-app --example custom-server-fastify custom-server-fastify-app ``` diff --git a/examples/custom-server-hapi/README.md b/examples/custom-server-hapi/README.md index 6c3e033cb9a27..76587d9a54ec5 100644 --- a/examples/custom-server-hapi/README.md +++ b/examples/custom-server-hapi/README.md @@ -13,7 +13,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-hapi custom-server-hapi-app +npx create-next-app --example custom-server-hapi custom-server-hapi-app # or yarn create next-app --example custom-server-hapi custom-server-hapi-app ``` diff --git a/examples/custom-server-koa/README.md b/examples/custom-server-koa/README.md index 6c208abca4019..b2f8bde8cc9da 100644 --- a/examples/custom-server-koa/README.md +++ b/examples/custom-server-koa/README.md @@ -13,7 +13,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-koa custom-server-koa-app +npx create-next-app --example custom-server-koa custom-server-koa-app # or yarn create next-app --example custom-server-koa custom-server-koa-app ``` diff --git a/examples/custom-server-polka/README.md b/examples/custom-server-polka/README.md index 7a9a303bfb662..7d138a2641dab 100644 --- a/examples/custom-server-polka/README.md +++ b/examples/custom-server-polka/README.md @@ -13,7 +13,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-polka custom-server-polka-app +npx create-next-app --example custom-server-polka custom-server-polka-app # or yarn create next-app --example custom-server-polka custom-server-polka-app ``` diff --git a/examples/custom-server-typescript/README.md b/examples/custom-server-typescript/README.md index 9dedc2fa00ca0..d3da2b432d7ce 100644 --- a/examples/custom-server-typescript/README.md +++ b/examples/custom-server-typescript/README.md @@ -12,7 +12,7 @@ The second directory should be added to `.gitignore`. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server-typescript custom-server-typescript-app +npx create-next-app --example custom-server-typescript custom-server-typescript-app # or yarn create next-app --example custom-server-typescript custom-server-typescript-app ``` diff --git a/examples/custom-server/README.md b/examples/custom-server/README.md index 4f8fc32522b49..7842513a96e84 100644 --- a/examples/custom-server/README.md +++ b/examples/custom-server/README.md @@ -11,7 +11,7 @@ The example shows a server that serves the component living in `pages/a.js` when Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example custom-server custom-server-app +npx create-next-app --example custom-server custom-server-app # or yarn create next-app --example custom-server custom-server-app ``` diff --git a/examples/data-fetch/README.md b/examples/data-fetch/README.md index 7213858d215d0..9dad52d6a84ef 100644 --- a/examples/data-fetch/README.md +++ b/examples/data-fetch/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example data-fetch data-fetch-app +npx create-next-app --example data-fetch data-fetch-app # or yarn create next-app --example data-fetch data-fetch-app ``` diff --git a/examples/dynamic-routing/README.md b/examples/dynamic-routing/README.md index a9525cafc9140..4e90398b6c12d 100644 --- a/examples/dynamic-routing/README.md +++ b/examples/dynamic-routing/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example dynamic-routing dynamic-routing-app +npx create-next-app --example dynamic-routing dynamic-routing-app # or yarn create next-app --example dynamic-routing dynamic-routing-app ``` diff --git a/examples/gh-pages/README.md b/examples/gh-pages/README.md index 195ee3a78e6e7..fa97db8463258 100644 --- a/examples/gh-pages/README.md +++ b/examples/gh-pages/README.md @@ -9,7 +9,7 @@ This example shows the most basic idea behind Next. We have 2 pages: `pages/inde Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example gh-pages gh-pages-app +npx create-next-app --example gh-pages gh-pages-app # or yarn create next-app --example gh-pages gh-pages-app ``` diff --git a/examples/head-elements/README.md b/examples/head-elements/README.md index cb267d7ec14ba..919dd7152d7d3 100644 --- a/examples/head-elements/README.md +++ b/examples/head-elements/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example head-elements head-elements-app +npx create-next-app --example head-elements head-elements-app # or yarn create next-app --example head-elements head-elements-app ``` diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md index 9debbd6b2b6e0..50171bc57b5f3 100644 --- a/examples/hello-world/README.md +++ b/examples/hello-world/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example hello-world hello-world-app +npx create-next-app --example hello-world hello-world-app # or yarn create next-app --example hello-world hello-world-app ``` diff --git a/examples/layout-component/README.md b/examples/layout-component/README.md index 1fd6ac957f376..e9f719263f113 100644 --- a/examples/layout-component/README.md +++ b/examples/layout-component/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example layout-component layout-component-app +npx create-next-app --example layout-component layout-component-app # or yarn create next-app --example layout-component layout-component-app ``` diff --git a/examples/nested-components/README.md b/examples/nested-components/README.md index d85fb262e6043..a3be4b32d2fbb 100644 --- a/examples/nested-components/README.md +++ b/examples/nested-components/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example nested-components nested-components-app +npx create-next-app --example nested-components nested-components-app # or yarn create next-app --example nested-components nested-components-app ``` diff --git a/examples/progressive-render/README.md b/examples/progressive-render/README.md index 75b87fe2ecdc7..3d9c94c44333b 100644 --- a/examples/progressive-render/README.md +++ b/examples/progressive-render/README.md @@ -29,7 +29,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example progressive-render progressive-render-app +npx create-next-app --example progressive-render progressive-render-app # or yarn create next-app --example progressive-render progressive-render-app ``` diff --git a/examples/ssr-caching/README.md b/examples/ssr-caching/README.md index d211ca0dc3e1b..330f2ba39f32b 100644 --- a/examples/ssr-caching/README.md +++ b/examples/ssr-caching/README.md @@ -12,7 +12,7 @@ This app uses Next's [custom server and routing](https://github.com/vercel/next. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example ssr-caching ssr-caching-app +npx create-next-app --example ssr-caching ssr-caching-app # or yarn create next-app --example ssr-caching ssr-caching-app ``` diff --git a/examples/svg-components/README.md b/examples/svg-components/README.md index 01006e782b203..6ef109f91e1c3 100644 --- a/examples/svg-components/README.md +++ b/examples/svg-components/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example svg-components svg-components-app +npx create-next-app --example svg-components svg-components-app # or yarn create next-app --example svg-components svg-components-app ``` diff --git a/examples/using-preact/README.md b/examples/using-preact/README.md index 1dbec61755ea0..6e253e38bd101 100644 --- a/examples/using-preact/README.md +++ b/examples/using-preact/README.md @@ -9,7 +9,7 @@ This example uses [Preact](https://github.com/preactjs/preact) instead of React. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example using-preact using-preact-app +npx create-next-app --example using-preact using-preact-app # or yarn create next-app --example using-preact using-preact-app ``` diff --git a/examples/using-router/README.md b/examples/using-router/README.md index c0716de66c023..27a3fb911acd2 100644 --- a/examples/using-router/README.md +++ b/examples/using-router/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example using-router using-router-app +npx create-next-app --example using-router using-router-app # or yarn create next-app --example using-router using-router-app ``` diff --git a/examples/with-absolute-imports/README.md b/examples/with-absolute-imports/README.md index ec1ea34bf81d1..462e98a995f4b 100644 --- a/examples/with-absolute-imports/README.md +++ b/examples/with-absolute-imports/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-absolute-imports with-absolute-imports-app +npx create-next-app --example with-absolute-imports with-absolute-imports-app # or yarn create next-app --example with-absolute-imports with-absolute-imports-app ``` diff --git a/examples/with-algolia-react-instantsearch/README.md b/examples/with-algolia-react-instantsearch/README.md index d462e3b74c856..c92a94fcc58cb 100644 --- a/examples/with-algolia-react-instantsearch/README.md +++ b/examples/with-algolia-react-instantsearch/README.md @@ -9,7 +9,7 @@ The goal of this example is to illustrate how you can use [Algolia React Instant Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app +npx create-next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app # or yarn create next-app --example with-algolia-react-instantsearch with-algolia-react-instantsearch-app ``` diff --git a/examples/with-ant-design-less/README.md b/examples/with-ant-design-less/README.md index ad1c5cf0e36d8..b55b3ca254040 100644 --- a/examples/with-ant-design-less/README.md +++ b/examples/with-ant-design-less/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-ant-design-less with-ant-design-app +npx create-next-app --example with-ant-design-less with-ant-design-app # or yarn create next-app --example with-ant-design-less with-ant-design-app ``` diff --git a/examples/with-ant-design-mobile/README.md b/examples/with-ant-design-mobile/README.md index 0bdfe43832972..cd78edb203c0f 100644 --- a/examples/with-ant-design-mobile/README.md +++ b/examples/with-ant-design-mobile/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-ant-design-mobile with-ant-design-mobile-app +npx create-next-app --example with-ant-design-mobile with-ant-design-mobile-app # or yarn create next-app --example with-ant-design-mobile with-ant-design-mobile-app ``` diff --git a/examples/with-ant-design-pro-layout-less/README.md b/examples/with-ant-design-pro-layout-less/README.md index 511ce95903130..d602ba3f5dc41 100644 --- a/examples/with-ant-design-pro-layout-less/README.md +++ b/examples/with-ant-design-pro-layout-less/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-ant-design-pro-layout-less with-ant-design-app +npx create-next-app --example with-ant-design-pro-layout-less with-ant-design-app # or yarn create next-app --example with-ant-design-pro-layout-less with-ant-design-app ``` diff --git a/examples/with-ant-design/README.md b/examples/with-ant-design/README.md index b6bb615fce7d4..1e5c425685201 100644 --- a/examples/with-ant-design/README.md +++ b/examples/with-ant-design/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-ant-design with-ant-design-app +npx create-next-app --example with-ant-design with-ant-design-app # or yarn create next-app --example with-ant-design with-ant-design-app ``` diff --git a/examples/with-aphrodite/README.md b/examples/with-aphrodite/README.md index 4da065a2e4273..751aee944117d 100644 --- a/examples/with-aphrodite/README.md +++ b/examples/with-aphrodite/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-aphrodite with-aphrodite-app +npx create-next-app --example with-aphrodite with-aphrodite-app # or yarn create next-app --example with-aphrodite with-aphrodite-app ``` diff --git a/examples/with-apollo-and-redux/README.md b/examples/with-apollo-and-redux/README.md index df6ff5bbcdda4..546ea2290b7ab 100644 --- a/examples/with-apollo-and-redux/README.md +++ b/examples/with-apollo-and-redux/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-apollo-and-redux with-apollo-and-redux-app +npx create-next-app --example with-apollo-and-redux with-apollo-and-redux-app # or yarn create next-app --example with-apollo-and-redux with-apollo-and-redux-app ``` diff --git a/examples/with-apollo/README.md b/examples/with-apollo/README.md index e0d83a7456b9a..2ed6389c72d94 100644 --- a/examples/with-apollo/README.md +++ b/examples/with-apollo/README.md @@ -26,7 +26,7 @@ _Live Example: https://next-with-apollo.now.sh_ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-apollo with-apollo-app +npx create-next-app --example with-apollo with-apollo-app # or yarn create next-app --example with-apollo with-apollo-app ``` diff --git a/examples/with-app-layout/README.md b/examples/with-app-layout/README.md index d8479364067f3..c2ed74ecee036 100644 --- a/examples/with-app-layout/README.md +++ b/examples/with-app-layout/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-app-layout with-app-layout-app +npx create-next-app --example with-app-layout with-app-layout-app # or yarn create next-app --example with-app-layout with-app-layout-app ``` diff --git a/examples/with-astroturf/README.md b/examples/with-astroturf/README.md index 44742af13f212..01fd018114803 100644 --- a/examples/with-astroturf/README.md +++ b/examples/with-astroturf/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-astroturf with-astroturf-app +npx create-next-app --example with-astroturf with-astroturf-app # or yarn create next-app --example with-astroturf with-astroturf-app ``` diff --git a/examples/with-aws-amplify-typescript/README.md b/examples/with-aws-amplify-typescript/README.md index 95b49e106e7f4..0d12557088957 100644 --- a/examples/with-aws-amplify-typescript/README.md +++ b/examples/with-aws-amplify-typescript/README.md @@ -17,7 +17,7 @@ Two routes are implemented : Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app +npx create-next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app # or yarn create next-app --example with-aws-amplify-typescript nextjs-aws-amplify-typescript-app ``` diff --git a/examples/with-aws-amplify/README.md b/examples/with-aws-amplify/README.md index 081bc68b7c8db..6967dde9e2b63 100644 --- a/examples/with-aws-amplify/README.md +++ b/examples/with-aws-amplify/README.md @@ -16,7 +16,7 @@ Two routes are implemented : Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-aws-amplify nextjs-aws-amplify-app +npx create-next-app --example with-aws-amplify nextjs-aws-amplify-app # or yarn create next-app --example with-aws-amplify nextjs-aws-amplify-app ``` diff --git a/examples/with-babel-macros/README.md b/examples/with-babel-macros/README.md index 62e00a9e7e4d0..14a786459a387 100644 --- a/examples/with-babel-macros/README.md +++ b/examples/with-babel-macros/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-babel-macros with-babel-macros-app +npx create-next-app --example with-babel-macros with-babel-macros-app # or yarn create next-app --example with-babel-macros with-babel-macros-app ``` diff --git a/examples/with-carbon-components/README.md b/examples/with-carbon-components/README.md index 72711455814cf..a80d9e677aef5 100644 --- a/examples/with-carbon-components/README.md +++ b/examples/with-carbon-components/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-carbon-components with-carbon-components-app +npx create-next-app --example with-carbon-components with-carbon-components-app # or yarn create next-app --example with-carbon-components with-carbon-components-app ``` diff --git a/examples/with-cerebral/README.md b/examples/with-cerebral/README.md index 3933863459ecd..0c3723362b4db 100644 --- a/examples/with-cerebral/README.md +++ b/examples/with-cerebral/README.md @@ -47,7 +47,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-cerebral with-cerebral-app +npx create-next-app --example with-cerebral with-cerebral-app # or yarn create next-app --example with-cerebral with-cerebral-app ``` diff --git a/examples/with-chakra-ui/README.md b/examples/with-chakra-ui/README.md index d252931aa7677..437a210860f33 100644 --- a/examples/with-chakra-ui/README.md +++ b/examples/with-chakra-ui/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-chakra-ui with-chakra-ui-app +npx create-next-app --example with-chakra-ui with-chakra-ui-app # or yarn create next-app --example with-chakra-ui with-chakra-ui-app ``` diff --git a/examples/with-context-api/README.md b/examples/with-context-api/README.md index 1b4ef94f68553..29f0fbe0569f2 100644 --- a/examples/with-context-api/README.md +++ b/examples/with-context-api/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-context-api with-context-api-app +npx create-next-app --example with-context-api with-context-api-app # or yarn create next-app --example with-context-api with-context-api-app ``` diff --git a/examples/with-cookie-auth-fauna/README.md b/examples/with-cookie-auth-fauna/README.md index aa0c9283b2119..e37222ac1ad2a 100644 --- a/examples/with-cookie-auth-fauna/README.md +++ b/examples/with-cookie-auth-fauna/README.md @@ -17,7 +17,7 @@ The helper function `auth` helps to retrieve the token across pages and redirect Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app +npx create-next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app # or yarn create next-app --example with-cookie-auth-fauna with-cookie-auth-fauna-app ``` diff --git a/examples/with-custom-babel-config/README.md b/examples/with-custom-babel-config/README.md index cfb600945080e..c0e340e99d46a 100644 --- a/examples/with-custom-babel-config/README.md +++ b/examples/with-custom-babel-config/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-custom-babel-config with-custom-babel-config-app +npx create-next-app --example with-custom-babel-config with-custom-babel-config-app # or yarn create next-app --example with-custom-babel-config with-custom-babel-config-app ``` diff --git a/examples/with-custom-reverse-proxy/README.md b/examples/with-custom-reverse-proxy/README.md index 66f4344ade8ab..72793f22910aa 100644 --- a/examples/with-custom-reverse-proxy/README.md +++ b/examples/with-custom-reverse-proxy/README.md @@ -14,7 +14,7 @@ Sorry for the extra packages. I belong to the minority camp of writing ES6 code Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-custom-reverse-proxy with-custom-reverse-proxy-app +npx create-next-app --example with-custom-reverse-proxy with-custom-reverse-proxy-app # or yarn create next-app --example with-custom-reverse-proxy with-custom-reverse-proxy-app ``` diff --git a/examples/with-cxs/README.md b/examples/with-cxs/README.md index 027efdb5718ed..b3dcbd2e09789 100644 --- a/examples/with-cxs/README.md +++ b/examples/with-cxs/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-cxs with-cxs-app +npx create-next-app --example with-cxs with-cxs-app # or yarn create next-app --example with-cxs with-cxs-app ``` diff --git a/examples/with-docker/README.md b/examples/with-docker/README.md index 9904fc4c9bc4a..e0acf09dad2c6 100644 --- a/examples/with-docker/README.md +++ b/examples/with-docker/README.md @@ -13,7 +13,7 @@ You can check the [Example Dockerfile for your own Node.js project](https://gith Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-docker with-docker-app +npx create-next-app --example with-docker with-docker-app # or yarn create next-app --example with-docker with-docker-app ``` diff --git a/examples/with-dotenv/README.md b/examples/with-dotenv/README.md index 05446b0771694..39a2a59a97479 100644 --- a/examples/with-dotenv/README.md +++ b/examples/with-dotenv/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-dotenv with-dotenv-app +npx create-next-app --example with-dotenv with-dotenv-app # or yarn create next-app --example with-dotenv with-dotenv-app ``` diff --git a/examples/with-draft-js/README.md b/examples/with-draft-js/README.md index 5e91022969fde..a957dfacc7ecf 100644 --- a/examples/with-draft-js/README.md +++ b/examples/with-draft-js/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-draft-js +npx create-next-app --example with-draft-js # or yarn create next-app --example with-draft-js with-draft-js-app ``` diff --git a/examples/with-dynamic-app-layout/README.md b/examples/with-dynamic-app-layout/README.md index 1bbaffbd290e4..73dbc90573f50 100644 --- a/examples/with-dynamic-app-layout/README.md +++ b/examples/with-dynamic-app-layout/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-dynamic-app-layout with-dynamic-app-layout-app +npx create-next-app --example with-dynamic-app-layout with-dynamic-app-layout-app # or yarn create next-app --example with-dynamic-app-layout with-dynamic-app-layout-app ``` diff --git a/examples/with-dynamic-import/README.md b/examples/with-dynamic-import/README.md index 934abbd69be94..6a1d8f2f0f4d6 100644 --- a/examples/with-dynamic-import/README.md +++ b/examples/with-dynamic-import/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-dynamic-import with-dynamic-import-app +npx create-next-app --example with-dynamic-import with-dynamic-import-app # or yarn create next-app --example with-dynamic-import with-dynamic-import-app ``` diff --git a/examples/with-electron-typescript/README.md b/examples/with-electron-typescript/README.md index 175af1b62a183..8c175fab6d335 100644 --- a/examples/with-electron-typescript/README.md +++ b/examples/with-electron-typescript/README.md @@ -19,7 +19,7 @@ For development it's going to run a HTTP server and let Next.js handle routing. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-electron-typescript with-electron-typescript-app +npx create-next-app --example with-electron-typescript with-electron-typescript-app # or yarn create next-app --example with-electron-typescript with-electron-typescript-app ``` diff --git a/examples/with-electron/README.md b/examples/with-electron/README.md index a66bf89efeac5..8d86b70cdea0a 100644 --- a/examples/with-electron/README.md +++ b/examples/with-electron/README.md @@ -13,7 +13,7 @@ For development it's going to run a HTTP server and let Next.js handle routing. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-electron with-electron-app +npx create-next-app --example with-electron with-electron-app # or yarn create next-app --example with-electron with-electron-app ``` diff --git a/examples/with-emotion-11/README.md b/examples/with-emotion-11/README.md index 557bf13bb99c0..1065b64e29952 100644 --- a/examples/with-emotion-11/README.md +++ b/examples/with-emotion-11/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-emotion-11 with-emotion-11-app +npx create-next-app --example with-emotion-11 with-emotion-11-app # or yarn create next-app --example with-emotion-11 with-emotion-11-app ``` diff --git a/examples/with-emotion/README.md b/examples/with-emotion/README.md index c4b1a0133ea2b..041b9c2268f41 100644 --- a/examples/with-emotion/README.md +++ b/examples/with-emotion/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-emotion-10 with-emotion-10-app +npx create-next-app --example with-emotion-10 with-emotion-10-app # or yarn create next-app --example with-emotion-10 with-emotion-10-app ``` diff --git a/examples/with-env-from-next-config-js/README.md b/examples/with-env-from-next-config-js/README.md index 692a44ef0f60e..b6014fe4c546c 100644 --- a/examples/with-env-from-next-config-js/README.md +++ b/examples/with-env-from-next-config-js/README.md @@ -25,7 +25,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-env-from-next-config-js +npx create-next-app --example with-env-from-next-config-js # or yarn create next-app --example with-env-from-next-config-js ``` diff --git a/examples/with-fela/README.md b/examples/with-fela/README.md index 12fcbbd402b2e..baf06781f21cf 100755 --- a/examples/with-fela/README.md +++ b/examples/with-fela/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-fela with-fela-app +npx create-next-app --example with-fela with-fela-app # or yarn create next-app --example with-fela with-fela-app ``` diff --git a/examples/with-firebase-cloud-messaging/README.md b/examples/with-firebase-cloud-messaging/README.md index efd431d8423aa..d11d239c674ab 100644 --- a/examples/with-firebase-cloud-messaging/README.md +++ b/examples/with-firebase-cloud-messaging/README.md @@ -9,7 +9,7 @@ To demo how to implement firebase cloud messaging to send web push notification Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-firebase-cloud-messaging with-firebase-cloud-messaging-app +npx create-next-app --example with-firebase-cloud-messaging with-firebase-cloud-messaging-app # or yarn create next-app --example with-firebase-cloud-messaging with-firebase-cloud-messaging-app ``` diff --git a/examples/with-firebase-hosting/README.md b/examples/with-firebase-hosting/README.md index 9f4e096c3416e..9f0fa0b4f0e50 100644 --- a/examples/with-firebase-hosting/README.md +++ b/examples/with-firebase-hosting/README.md @@ -20,7 +20,7 @@ If you are having issues, feel free to tag @jthegedus in the [issue you create o Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-firebase-hosting with-firebase-hosting-app +npx create-next-app --example with-firebase-hosting with-firebase-hosting-app # or yarn create next-app --example with-firebase-hosting with-firebase-hosting-app ``` diff --git a/examples/with-flow/README.md b/examples/with-flow/README.md index ea5e3d7ebd1f7..bfd5da830117b 100644 --- a/examples/with-flow/README.md +++ b/examples/with-flow/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-flow with-flow-app +npx create-next-app --example with-flow with-flow-app # or yarn create next-app --example with-flow with-flow-app ``` diff --git a/examples/with-framer-motion/README.md b/examples/with-framer-motion/README.md index f0d03146de2f0..421b9f323a5b6 100644 --- a/examples/with-framer-motion/README.md +++ b/examples/with-framer-motion/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-framer-motion with-framer-motion +npx create-next-app --example with-framer-motion with-framer-motion # or yarn create next-app --example with-framer-motion with-framer-motion ``` diff --git a/examples/with-glamor/README.md b/examples/with-glamor/README.md index 2c9da10730b71..310c14562f409 100644 --- a/examples/with-glamor/README.md +++ b/examples/with-glamor/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-glamor with-glamor-app +npx create-next-app --example with-glamor with-glamor-app # or yarn create next-app --example with-glamor with-glamor-app ``` diff --git a/examples/with-google-analytics-amp/README.md b/examples/with-google-analytics-amp/README.md index 5f3ff00341b1a..f15df6f9c8462 100644 --- a/examples/with-google-analytics-amp/README.md +++ b/examples/with-google-analytics-amp/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-google-analytics-amp with-google-analytics-amp-app +npx create-next-app --example with-google-analytics-amp with-google-analytics-amp-app # or yarn create next-app --example with-google-analytics-amp with-google-analytics-amp-app ``` diff --git a/examples/with-google-analytics/README.md b/examples/with-google-analytics/README.md index ffbccc9702de0..de59e603cc8e7 100644 --- a/examples/with-google-analytics/README.md +++ b/examples/with-google-analytics/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-google-analytics with-google-analytics-app +npx create-next-app --example with-google-analytics with-google-analytics-app # or yarn create next-app --example with-google-analytics with-google-analytics-app ``` diff --git a/examples/with-graphql-faunadb/README.md b/examples/with-graphql-faunadb/README.md index f8c2648ecb301..5b47279d08983 100644 --- a/examples/with-graphql-faunadb/README.md +++ b/examples/with-graphql-faunadb/README.md @@ -37,7 +37,7 @@ At the end, the newly generated client token will be printed and should be used Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ``` -npm init next-app --example with-graphql-faunadb with-graphql-faunadb +npx create-next-app --example with-graphql-faunadb with-graphql-faunadb # or yarn create next-app --example with-graphql-faunadb with-graphql-faunadb ``` diff --git a/examples/with-graphql-hooks/README.md b/examples/with-graphql-hooks/README.md index a0e71a2c25f48..ae120414a1446 100644 --- a/examples/with-graphql-hooks/README.md +++ b/examples/with-graphql-hooks/README.md @@ -21,7 +21,7 @@ _Live Example: https://next-with-graphql-hooks.now.sh_ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-graphql-hooks with-graphql-hooks-app +npx create-next-app --example with-graphql-hooks with-graphql-hooks-app # or yarn create next-app --example with-graphql-hooks with-graphql-hooks-app ``` diff --git a/examples/with-graphql-react/README.md b/examples/with-graphql-react/README.md index 63e0e0845ad74..7a0aba6918667 100644 --- a/examples/with-graphql-react/README.md +++ b/examples/with-graphql-react/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-graphql-react with-graphql-react-app +npx create-next-app --example with-graphql-react with-graphql-react-app # or yarn create next-app --example with-graphql-react with-graphql-react-app ``` diff --git a/examples/with-grommet/README.md b/examples/with-grommet/README.md index c9ecec0200032..c12e47491b185 100644 --- a/examples/with-grommet/README.md +++ b/examples/with-grommet/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-grommet with-grommet-app +npx create-next-app --example with-grommet with-grommet-app # or yarn create next-app --example with-grommet with-grommet-app ``` diff --git a/examples/with-hls-js/README.md b/examples/with-hls-js/README.md index e939ffbdcfdc9..b79f34deeb338 100644 --- a/examples/with-hls-js/README.md +++ b/examples/with-hls-js/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com/now): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-hls-js with-hls-js-app +npx create-next-app --example with-hls-js with-hls-js-app # or yarn create next-app --example with-hls-js with-hls-js-app ``` diff --git a/examples/with-http2/README.md b/examples/with-http2/README.md index a99777fda375f..915619b1ff7a7 100644 --- a/examples/with-http2/README.md +++ b/examples/with-http2/README.md @@ -9,7 +9,7 @@ This example shows the most basic example using an HTTP2 server. We have 2 pages Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-http2 with-http2-app +npx create-next-app --example with-http2 with-http2-app # or yarn create next-app --example with-http2 with-http2-app ``` diff --git a/examples/with-i18n-rosetta/README.md b/examples/with-i18n-rosetta/README.md index 6718878335b16..1688f8bc151bd 100644 --- a/examples/with-i18n-rosetta/README.md +++ b/examples/with-i18n-rosetta/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-i18n-rosetta with-i18n-rosetta +npx create-next-app --example with-i18n-rosetta with-i18n-rosetta # or yarn create next-app --example with-i18n-rosetta with-i18n-rosetta ``` diff --git a/examples/with-kea/README.md b/examples/with-kea/README.md index 8a36699b6f4c5..4e75bf18699ff 100644 --- a/examples/with-kea/README.md +++ b/examples/with-kea/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-kea with-kea-app +npx create-next-app --example with-kea with-kea-app # or yarn create next-app --example with-kea with-kea-app ``` diff --git a/examples/with-linaria/README.md b/examples/with-linaria/README.md index a916c4ade3a0b..6f93c0a3ab945 100644 --- a/examples/with-linaria/README.md +++ b/examples/with-linaria/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-linaria with-linaria-app +npx create-next-app --example with-linaria with-linaria-app # or yarn create next-app --example with-linaria with-linaria-app ``` diff --git a/examples/with-lingui/README.md b/examples/with-lingui/README.md index 5b038e3f6f1ba..e5009d5691dc1 100644 --- a/examples/with-lingui/README.md +++ b/examples/with-lingui/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-lingui with-lingui-app +npx create-next-app --example with-lingui with-lingui-app # or yarn create next-app --example with-lingui with-lingui-app ``` diff --git a/examples/with-loading/README.md b/examples/with-loading/README.md index 0484f5e9bad8c..71f0eeaf16a6a 100644 --- a/examples/with-loading/README.md +++ b/examples/with-loading/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-loading with-loading-app +npx create-next-app --example with-loading with-loading-app # or yarn create next-app --example with-loading with-loading-app ``` diff --git a/examples/with-magic/README.md b/examples/with-magic/README.md index e2884d4457197..116981aa1b120 100644 --- a/examples/with-magic/README.md +++ b/examples/with-magic/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel Now](https://vercel.com/docs/now-cli#commands/o Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-magic with-magic-app +npx create-next-app --example with-magic with-magic-app # or yarn create next-app --example with-magic with-magic-app ``` diff --git a/examples/with-mdx/README.md b/examples/with-mdx/README.md index 1dfc2a0a1d3c8..7fbd87e4e3bdf 100644 --- a/examples/with-mdx/README.md +++ b/examples/with-mdx/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mdx with-mdx-app +npx create-next-app --example with-mdx with-mdx-app # or yarn create next-app --example with-mdx with-mdx-app ``` diff --git a/examples/with-mobx-react-lite/README.md b/examples/with-mobx-react-lite/README.md index f2fee2f6f3426..3725b6b1a902a 100644 --- a/examples/with-mobx-react-lite/README.md +++ b/examples/with-mobx-react-lite/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mobx-react-lite with-mobx-react-lite-app +npx create-next-app --example with-mobx-react-lite with-mobx-react-lite-app # or yarn create next-app --example with-mobx-react-lite with-mobx-react-lite-app ``` diff --git a/examples/with-mobx-state-tree-typescript/README.md b/examples/with-mobx-state-tree-typescript/README.md index 1093f45f47e2c..9288e10981b43 100644 --- a/examples/with-mobx-state-tree-typescript/README.md +++ b/examples/with-mobx-state-tree-typescript/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app +npx create-next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app # or yarn create next-app --example with-mobx-state-tree-typescript with-mobx-state-tree-typescript-app ``` diff --git a/examples/with-mobx-state-tree/README.md b/examples/with-mobx-state-tree/README.md index 38692d791adb1..1476d45e0922f 100644 --- a/examples/with-mobx-state-tree/README.md +++ b/examples/with-mobx-state-tree/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mobx-state-tree with-mobx-state-tree-app +npx create-next-app --example with-mobx-state-tree with-mobx-state-tree-app # or yarn create next-app --example with-mobx-state-tree with-mobx-state-tree-app ``` diff --git a/examples/with-mobx/README.md b/examples/with-mobx/README.md index d2ad17e1a6e75..1bad676cd0130 100644 --- a/examples/with-mobx/README.md +++ b/examples/with-mobx/README.md @@ -23,7 +23,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mobx with-mobx-app +npx create-next-app --example with-mobx with-mobx-app # or yarn create next-app --example with-mobx with-mobx-app ``` diff --git a/examples/with-mocha/README.md b/examples/with-mocha/README.md index e29e3d6a588c6..5988e5556febb 100644 --- a/examples/with-mocha/README.md +++ b/examples/with-mocha/README.md @@ -9,7 +9,7 @@ This example features an app with Mocha tests. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mocha with-mocha-app +npx create-next-app --example with-mocha with-mocha-app # or yarn create next-app --example with-mocha with-mocha-app ``` diff --git a/examples/with-mongodb-mongoose/README.md b/examples/with-mongodb-mongoose/README.md index 31a60e5a31225..c68c4d39aa9c5 100644 --- a/examples/with-mongodb-mongoose/README.md +++ b/examples/with-mongodb-mongoose/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mongodb-mongoose with-mongodb-mongoose-app +npx create-next-app --example with-mongodb-mongoose with-mongodb-mongoose-app # or yarn create next-app --example with-mongodb-mongoose with-mongodb-mongoose-app ``` diff --git a/examples/with-mux-video/README.md b/examples/with-mux-video/README.md index b71b9b887294f..8fdf5b0618c83 100644 --- a/examples/with-mux-video/README.md +++ b/examples/with-mux-video/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com/home): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-mux-video with-mux-video-app +npx create-next-app --example with-mux-video with-mux-video-app # or yarn create next-app --example with-mux-video with-mux-video-app ``` diff --git a/examples/with-netlify-cms/README.md b/examples/with-netlify-cms/README.md index ec35d1daa9c6e..8fe5970e81f65 100644 --- a/examples/with-netlify-cms/README.md +++ b/examples/with-netlify-cms/README.md @@ -9,7 +9,7 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-netlify-cms with-netlify-cms-app +npx create-next-app --example with-netlify-cms with-netlify-cms-app # or yarn create next-app --example with-netlify-cms with-netlify-cms-app ``` diff --git a/examples/with-next-css/README.md b/examples/with-next-css/README.md index a6c6fc442de29..3d952a8e0a482 100644 --- a/examples/with-next-css/README.md +++ b/examples/with-next-css/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-css with-next-css-app +npx create-next-app --example with-next-css with-next-css-app # or yarn create next-app --example with-next-css with-next-css-app ``` diff --git a/examples/with-next-less/README.md b/examples/with-next-less/README.md index 7ac004d0b5a9f..6ead979f54158 100644 --- a/examples/with-next-less/README.md +++ b/examples/with-next-less/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-less with-next-less-app +npx create-next-app --example with-next-less with-next-less-app # or yarn create next-app --example with-next-less with-next-less-app ``` diff --git a/examples/with-next-offline/README.md b/examples/with-next-offline/README.md index 8800def045776..3a5edefdda808 100644 --- a/examples/with-next-offline/README.md +++ b/examples/with-next-offline/README.md @@ -9,7 +9,7 @@ This example demonstrates how to use the [next-offline plugin](https://github.co Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-offline with-next-offline-app +npx create-next-app --example with-next-offline with-next-offline-app # or yarn create next-app --example with-next-offline with-next-offline-app ``` diff --git a/examples/with-next-page-transitions/README.md b/examples/with-next-page-transitions/README.md index fd6037048e0af..2bb304f006a8e 100644 --- a/examples/with-next-page-transitions/README.md +++ b/examples/with-next-page-transitions/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-page-transitions with-next-page-transitions +npx create-next-app --example with-next-page-transitions with-next-page-transitions # or yarn create next-app --example with-next-page-transitions with-next-page-transitions ``` diff --git a/examples/with-next-sass/README.md b/examples/with-next-sass/README.md index 64b45ba44a91a..ad925c01cdb5d 100644 --- a/examples/with-next-sass/README.md +++ b/examples/with-next-sass/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-sass with-next-sass-app +npx create-next-app --example with-next-sass with-next-sass-app # or yarn create next-app --example with-next-sass with-next-sass-app ``` diff --git a/examples/with-next-seo/README.md b/examples/with-next-seo/README.md index e1ad948a46f20..a7e69336ef36f 100644 --- a/examples/with-next-seo/README.md +++ b/examples/with-next-seo/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-seo next-seo-app +npx create-next-app --example with-next-seo next-seo-app # or yarn create next-app --example with-next-seo next-seo-app ``` diff --git a/examples/with-next-translate/README.md b/examples/with-next-translate/README.md index de23721655755..47aedb4441449 100644 --- a/examples/with-next-translate/README.md +++ b/examples/with-next-translate/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-next-translate with-next-translate-app +npx create-next-app --example with-next-translate with-next-translate-app # or yarn create next-app --example with-next-translate with-next-translate-app ``` diff --git a/examples/with-now-env/README.md b/examples/with-now-env/README.md index cf44ded8fdcfc..44bec57632803 100644 --- a/examples/with-now-env/README.md +++ b/examples/with-now-env/README.md @@ -9,7 +9,7 @@ This example shows the usage of [Now Secrets](https://vercel.com/docs/v2/deploym Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-now-env with-now-env-app +npx create-next-app --example with-now-env with-now-env-app # or yarn create next-app --example with-now-env with-now-env-app ``` diff --git a/examples/with-orbit-components/README.md b/examples/with-orbit-components/README.md index 4cea8b2196d14..c382bdc848308 100644 --- a/examples/with-orbit-components/README.md +++ b/examples/with-orbit-components/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-orbit-components with-orbit-components-app +npx create-next-app --example with-orbit-components with-orbit-components-app # or yarn create next-app --example with-orbit-components with-orbit-components-app ``` diff --git a/examples/with-overmind/README.md b/examples/with-overmind/README.md index ae7a97c1ed95d..e5d96d98d6ca3 100644 --- a/examples/with-overmind/README.md +++ b/examples/with-overmind/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-overmind with-overmind-app +npx create-next-app --example with-overmind with-overmind-app # or yarn create next-app --example with-overmind with-overmind-app ``` diff --git a/examples/with-passport/README.md b/examples/with-passport/README.md index e9e62d89e80a7..269d0574bf99f 100644 --- a/examples/with-passport/README.md +++ b/examples/with-passport/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-passport with-passport-app +npx create-next-app --example with-passport with-passport-app # or yarn create next-app --example with-passport with-passport-app ``` diff --git a/examples/with-patternfly/README.md b/examples/with-patternfly/README.md index 97df51f7f2641..177e0337677b9 100644 --- a/examples/with-patternfly/README.md +++ b/examples/with-patternfly/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-patternfly with-patternfly-app +npx create-next-app --example with-patternfly with-patternfly-app # or yarn create next-app --example with-patternfly with-patternfly-app ``` diff --git a/examples/with-polyfills/README.md b/examples/with-polyfills/README.md index 4b038143e5b7c..030c04626a715 100644 --- a/examples/with-polyfills/README.md +++ b/examples/with-polyfills/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-polyfills with-polyfills-app +npx create-next-app --example with-polyfills with-polyfills-app # or yarn create next-app --example with-polyfills with-polyfills-app ``` diff --git a/examples/with-portals-ssr/README.md b/examples/with-portals-ssr/README.md index b83f80a3d7df1..9f895f41ef98b 100644 --- a/examples/with-portals-ssr/README.md +++ b/examples/with-portals-ssr/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-portals-ssr with-portals-ssr +npx create-next-app --example with-portals-ssr with-portals-ssr # or yarn create next-app --example with-portals-ssr with-portals-ssr ``` diff --git a/examples/with-portals/README.md b/examples/with-portals/README.md index e039ab933f822..cf9f9d1884619 100644 --- a/examples/with-portals/README.md +++ b/examples/with-portals/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-portals with-portals-app +npx create-next-app --example with-portals with-portals-app # or yarn create next-app --example with-portals with-portals-app ``` diff --git a/examples/with-prefetching/README.md b/examples/with-prefetching/README.md index 80e58572d493d..fed66c2ea8b7d 100644 --- a/examples/with-prefetching/README.md +++ b/examples/with-prefetching/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-prefetching with-prefetching-app +npx create-next-app --example with-prefetching with-prefetching-app # or yarn create next-app --example with-prefetching with-prefetching-app ``` diff --git a/examples/with-quill-js/README.md b/examples/with-quill-js/README.md index d524e4aebfb5d..a0116c8712125 100644 --- a/examples/with-quill-js/README.md +++ b/examples/with-quill-js/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-quill-js with-quill-js-app +npx create-next-app --example with-quill-js with-quill-js-app # or yarn create next-app --example with-quill-js with-quill-js-app ``` diff --git a/examples/with-rbx-bulma-pro/README.md b/examples/with-rbx-bulma-pro/README.md index a4e9d630c7df9..54f4b8e8b5ef6 100644 --- a/examples/with-rbx-bulma-pro/README.md +++ b/examples/with-rbx-bulma-pro/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-rbx-bulma-pro with-rbx-bulma-pro-app +npx create-next-app --example with-rbx-bulma-pro with-rbx-bulma-pro-app # or yarn create next-app --example with-rbx-bulma-pro with-rbx-bulma-pro-app ``` diff --git a/examples/with-react-bootstrap/README.md b/examples/with-react-bootstrap/README.md index 5352b54b9da41..a68dd8834ae27 100644 --- a/examples/with-react-bootstrap/README.md +++ b/examples/with-react-bootstrap/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-bootstrap with-react-bootstrap-app +npx create-next-app --example with-react-bootstrap with-react-bootstrap-app # or yarn create next-app --example with-react-bootstrap with-react-bootstrap-app ``` diff --git a/examples/with-react-ga/README.md b/examples/with-react-ga/README.md index 32bd5906236b9..5d48d22afcbfa 100644 --- a/examples/with-react-ga/README.md +++ b/examples/with-react-ga/README.md @@ -16,7 +16,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-ga with-react-ga-app +npx create-next-app --example with-react-ga with-react-ga-app # or yarn create next-app --example with-react-ga with-react-ga-app ``` diff --git a/examples/with-react-helmet/README.md b/examples/with-react-helmet/README.md index 81d4636841320..494569d2a2f88 100644 --- a/examples/with-react-helmet/README.md +++ b/examples/with-react-helmet/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-helmet with-react-helmet-app +npx create-next-app --example with-react-helmet with-react-helmet-app # or yarn create next-app --example with-react-helmet with-react-helmet-app ``` diff --git a/examples/with-react-intl/README.md b/examples/with-react-intl/README.md index 3d768b4de4fe9..7cc945bae9817 100644 --- a/examples/with-react-intl/README.md +++ b/examples/with-react-intl/README.md @@ -9,7 +9,7 @@ This example app shows how to integrate [React Intl][] with Next. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-intl with-react-intl-app +npx create-next-app --example with-react-intl with-react-intl-app # or yarn create next-app --example with-react-intl with-react-intl-app ``` diff --git a/examples/with-react-jss/README.md b/examples/with-react-jss/README.md index bcbcdf33b4ee8..d2613c6d6494e 100644 --- a/examples/with-react-jss/README.md +++ b/examples/with-react-jss/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-jss with-react-jss-app +npx create-next-app --example with-react-jss with-react-jss-app # or yarn create next-app --example with-react-jss with-react-jss-app ``` diff --git a/examples/with-react-md/README.md b/examples/with-react-md/README.md index dd38ec63ce162..7be64629364ff 100644 --- a/examples/with-react-md/README.md +++ b/examples/with-react-md/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-md with-react-md-app +npx create-next-app --example with-react-md with-react-md-app # or yarn create next-app --example with-react-md with-react-md-app ``` diff --git a/examples/with-react-multi-carousel/README.md b/examples/with-react-multi-carousel/README.md index 04dc88ff522c4..e5480fd354f5d 100644 --- a/examples/with-react-multi-carousel/README.md +++ b/examples/with-react-multi-carousel/README.md @@ -17,7 +17,7 @@ _Live Example: https://react-multi-carousel.now.sh_ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-multi-carousel with-react-multi-carousel-app +npx create-next-app --example with-react-multi-carousel with-react-multi-carousel-app # or yarn create next-app --example with-react-multi-carousel with-react-multi-carousel-app ``` diff --git a/examples/with-react-native-web/README.md b/examples/with-react-native-web/README.md index 0583ca9d479f0..48b50ee80268c 100644 --- a/examples/with-react-native-web/README.md +++ b/examples/with-react-native-web/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-native-web +npx create-next-app --example with-react-native-web # or yarn create next-app --example with-react-native-web with-react-native-web-app ``` diff --git a/examples/with-react-relay-network-modern/README.md b/examples/with-react-relay-network-modern/README.md index 8228200febfa7..6d628747d4b34 100644 --- a/examples/with-react-relay-network-modern/README.md +++ b/examples/with-react-relay-network-modern/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-relay-network-modern with-react-relay-network-modern-app +npx create-next-app --example with-react-relay-network-modern with-react-relay-network-modern-app # or yarn create next-app --example with-react-relay-network-modern with-react-relay-network-modern-app ``` diff --git a/examples/with-react-toolbox/README.md b/examples/with-react-toolbox/README.md index b63dfbff542c5..198acab992beb 100644 --- a/examples/with-react-toolbox/README.md +++ b/examples/with-react-toolbox/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-toolbox with-react-toolbox-app +npx create-next-app --example with-react-toolbox with-react-toolbox-app # or yarn create next-app --example with-react-toolbox with-react-toolbox-app ``` diff --git a/examples/with-react-with-styles/README.md b/examples/with-react-with-styles/README.md index 13a01c6101e78..5d118f7b188b5 100644 --- a/examples/with-react-with-styles/README.md +++ b/examples/with-react-with-styles/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-react-with-styles with-react-with-styles-app +npx create-next-app --example with-react-with-styles with-react-with-styles-app # or yarn create next-app --example with-react-with-styles with-react-with-styles-app ``` diff --git a/examples/with-reason-relay/README.md b/examples/with-reason-relay/README.md index 6d6bd4f6837ec..3bfd4d4e6b41f 100644 --- a/examples/with-reason-relay/README.md +++ b/examples/with-reason-relay/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-reason-relay with-reason-relay +npx create-next-app --example with-reason-relay with-reason-relay # or yarn create next-app --example with-reason-relay with-reason-relay ``` diff --git a/examples/with-reasonml-todo/README.md b/examples/with-reasonml-todo/README.md index 4cb616b036eed..e94cca2f63d23 100644 --- a/examples/with-reasonml-todo/README.md +++ b/examples/with-reasonml-todo/README.md @@ -27,7 +27,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-reasonml-todo with-reasonml-app +npx create-next-app --example with-reasonml-todo with-reasonml-app # or yarn create next-app --example with-reasonml-todo with-reasonml-app ``` diff --git a/examples/with-reasonml/README.md b/examples/with-reasonml/README.md index a4ff241d02d73..db8d3b9b34ef4 100644 --- a/examples/with-reasonml/README.md +++ b/examples/with-reasonml/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-reasonml with-reasonml-app +npx create-next-app --example with-reasonml with-reasonml-app # or yarn create next-app --example with-reasonml with-reasonml-app ``` diff --git a/examples/with-rebass/README.md b/examples/with-rebass/README.md index 6cc73f6c4573c..9b50788edf633 100644 --- a/examples/with-rebass/README.md +++ b/examples/with-rebass/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-rebass with-rebass-app +npx create-next-app --example with-rebass with-rebass-app # or yarn create next-app --example with-rebass with-rebass-app ``` diff --git a/examples/with-redux-code-splitting/README.md b/examples/with-redux-code-splitting/README.md index c93c10318178e..a5b02cb3e2ab0 100644 --- a/examples/with-redux-code-splitting/README.md +++ b/examples/with-redux-code-splitting/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-code-splitting with-redux-code-splitting-app +npx create-next-app --example with-redux-code-splitting with-redux-code-splitting-app # or yarn create next-app --example with-redux-code-splitting with-redux-code-splitting-app ``` diff --git a/examples/with-redux-observable/README.md b/examples/with-redux-observable/README.md index d8966b411bf47..aa537f81fabc8 100644 --- a/examples/with-redux-observable/README.md +++ b/examples/with-redux-observable/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-observable with-redux-observable-app +npx create-next-app --example with-redux-observable with-redux-observable-app # or yarn create next-app --example with-redux-observable with-redux-observable-app ``` diff --git a/examples/with-redux-persist/README.md b/examples/with-redux-persist/README.md index 8d33e8620d683..d397188fd11c4 100644 --- a/examples/with-redux-persist/README.md +++ b/examples/with-redux-persist/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-persist with-redux-persist-app +npx create-next-app --example with-redux-persist with-redux-persist-app # or yarn create next-app --example with-redux-persist with-redux-persist-app ``` diff --git a/examples/with-redux-saga/README.md b/examples/with-redux-saga/README.md index 4fc244d9ffcd6..d357013e1c115 100644 --- a/examples/with-redux-saga/README.md +++ b/examples/with-redux-saga/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-saga with-redux-saga-app +npx create-next-app --example with-redux-saga with-redux-saga-app # or yarn create next-app --example with-redux-saga with-redux-saga-app ``` diff --git a/examples/with-redux-thunk/README.md b/examples/with-redux-thunk/README.md index 20c07898263a0..578ed2700fb5a 100644 --- a/examples/with-redux-thunk/README.md +++ b/examples/with-redux-thunk/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-thunk with-redux-thunk-app +npx create-next-app --example with-redux-thunk with-redux-thunk-app # or yarn create next-app --example with-redux-thunk with-redux-thunk-app ``` diff --git a/examples/with-redux-wrapper/README.md b/examples/with-redux-wrapper/README.md index 41aeb28c46de4..12ac8c640006e 100644 --- a/examples/with-redux-wrapper/README.md +++ b/examples/with-redux-wrapper/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux-wrapper with-redux-wrapper-app +npx create-next-app --example with-redux-wrapper with-redux-wrapper-app # or yarn create next-app --example with-redux-wrapper with-redux-wrapper-app ``` diff --git a/examples/with-redux/README.md b/examples/with-redux/README.md index 7723818bffb46..7a670ca5b655a 100644 --- a/examples/with-redux/README.md +++ b/examples/with-redux/README.md @@ -27,7 +27,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-redux with-redux-app +npx create-next-app --example with-redux with-redux-app # or yarn create next-app --example with-redux with-redux-app ``` diff --git a/examples/with-reflux/README.md b/examples/with-reflux/README.md index c8c3580214e2a..f42f5c41d6104 100644 --- a/examples/with-reflux/README.md +++ b/examples/with-reflux/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-reflux with-reflux-app +npx create-next-app --example with-reflux with-reflux-app # or yarn create next-app --example with-reflux with-reflux-app ``` diff --git a/examples/with-relay-modern/README.md b/examples/with-relay-modern/README.md index 3cf559f391195..65fbf2d087951 100644 --- a/examples/with-relay-modern/README.md +++ b/examples/with-relay-modern/README.md @@ -19,7 +19,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-relay-modern with-relay-modern-app +npx create-next-app --example with-relay-modern with-relay-modern-app # or yarn create next-app --example with-relay-modern with-relay-modern-app ``` diff --git a/examples/with-rematch/README.md b/examples/with-rematch/README.md index 0a1f27b170aee..b9fd59d6495ca 100644 --- a/examples/with-rematch/README.md +++ b/examples/with-rematch/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-rematch with-rematch-app +npx create-next-app --example with-rematch with-rematch-app # or yarn create next-app --example with-rematch with-rematch-app ``` diff --git a/examples/with-segment-analytics/README.md b/examples/with-segment-analytics/README.md index ad04fcf85d5d1..71cc42e83880e 100644 --- a/examples/with-segment-analytics/README.md +++ b/examples/with-segment-analytics/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-segment-analytics with-segment-analytics-app +npx create-next-app --example with-segment-analytics with-segment-analytics-app # or yarn create next-app --example with-segment-analytics with-segment-analytics-app ``` diff --git a/examples/with-semantic-ui/README.md b/examples/with-semantic-ui/README.md index fbc8b6dfecbae..3d10542710ab9 100644 --- a/examples/with-semantic-ui/README.md +++ b/examples/with-semantic-ui/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-semantic-ui with-semantic-ui-app +npx create-next-app --example with-semantic-ui with-semantic-ui-app # or yarn create next-app --example with-semantic-ui with-semantic-ui-app ``` diff --git a/examples/with-sentry-simple/README.md b/examples/with-sentry-simple/README.md index a256ebf61f4f7..eb775423489f6 100644 --- a/examples/with-sentry-simple/README.md +++ b/examples/with-sentry-simple/README.md @@ -15,7 +15,7 @@ This is a simple example showing how to use [Sentry](https://sentry.io) to catch Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-sentry-simple with-sentry-simple +npx create-next-app --example with-sentry-simple with-sentry-simple # or yarn create next-app --example with-sentry-simple with-sentry-simple ``` diff --git a/examples/with-sentry/README.md b/examples/with-sentry/README.md index c5e5a15600262..dacecbd1da84e 100644 --- a/examples/with-sentry/README.md +++ b/examples/with-sentry/README.md @@ -9,7 +9,7 @@ An example showing use of [Sentry](https://sentry.io) to catch & report errors o Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-sentry with-sentry-app +npx create-next-app --example with-sentry with-sentry-app # or yarn create next-app --example with-sentry with-sentry-app ``` diff --git a/examples/with-shallow-routing/README.md b/examples/with-shallow-routing/README.md index 3c1365db616bd..bfec95ddd4916 100644 --- a/examples/with-shallow-routing/README.md +++ b/examples/with-shallow-routing/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-shallow-routing with-shallow-routing-app +npx create-next-app --example with-shallow-routing with-shallow-routing-app # or yarn create next-app --example with-shallow-routing with-shallow-routing-app ``` diff --git a/examples/with-slate/README.md b/examples/with-slate/README.md index b48af53b7f914..8e1572ea2f304 100644 --- a/examples/with-slate/README.md +++ b/examples/with-slate/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-slate with-slate-app +npx create-next-app --example with-slate with-slate-app # or yarn create next-app --example with-slate with-slate-app ``` diff --git a/examples/with-static-export/README.md b/examples/with-static-export/README.md index 4377280bf36c2..797d9c42df44c 100644 --- a/examples/with-static-export/README.md +++ b/examples/with-static-export/README.md @@ -11,7 +11,7 @@ When trying to run `npm start` it will build and export your pages into the `out Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-static-export with-static-export-app +npx create-next-app --example with-static-export with-static-export-app # or yarn create next-app --example with-static-export with-static-export-app ``` diff --git a/examples/with-stitches-styled/README.md b/examples/with-stitches-styled/README.md index 370e4693f498d..038bf0e3c25e2 100644 --- a/examples/with-stitches-styled/README.md +++ b/examples/with-stitches-styled/README.md @@ -13,7 +13,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-stitches-styled +npx create-next-app --example with-stitches-styled # or yarn create next-app --example with-stitches-styled ``` diff --git a/examples/with-stitches/README.md b/examples/with-stitches/README.md index fdc1d6b02bb9f..11cccb5205f05 100644 --- a/examples/with-stitches/README.md +++ b/examples/with-stitches/README.md @@ -13,7 +13,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-stitches +npx create-next-app --example with-stitches # or yarn create next-app --example with-stitches ``` diff --git a/examples/with-stomp/README.md b/examples/with-stomp/README.md index 87f6ddd642536..05caa3e2f82c3 100644 --- a/examples/with-stomp/README.md +++ b/examples/with-stomp/README.md @@ -13,7 +13,7 @@ Read more about [STOMP](http://jmesnil.net/stomp-websocket/doc/) protocol. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-stomp with-stomp-app +npx create-next-app --example with-stomp with-stomp-app # or yarn create next-app --example with-stomp with-stomp-app ``` diff --git a/examples/with-storybook/README.md b/examples/with-storybook/README.md index 9f42c29311a8b..6a3239cb0a15f 100644 --- a/examples/with-storybook/README.md +++ b/examples/with-storybook/README.md @@ -9,7 +9,7 @@ This example shows a default set up of Storybook. Also included in the example i Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-storybook with-storybook-app +npx create-next-app --example with-storybook with-storybook-app # or yarn create next-app --example with-storybook with-storybook-app ``` diff --git a/examples/with-strict-csp/README.md b/examples/with-strict-csp/README.md index 4e6003fe1c2ca..0733b0fc28a2b 100644 --- a/examples/with-strict-csp/README.md +++ b/examples/with-strict-csp/README.md @@ -18,7 +18,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-strict-csp-hash with-strict-csp-hash-app +npx create-next-app --example with-strict-csp-hash with-strict-csp-hash-app # or yarn create next-app --example with-strict-csp-hash with-strict-csp-hash-app ``` diff --git a/examples/with-stripe-typescript/README.md b/examples/with-stripe-typescript/README.md index 805f6debade6a..3fe92c68beb4f 100644 --- a/examples/with-stripe-typescript/README.md +++ b/examples/with-stripe-typescript/README.md @@ -60,7 +60,7 @@ Read more about testing on Stripe at https://stripe.com/docs/testing. Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-stripe-typescript with-stripe-typescript-app +npx create-next-app --example with-stripe-typescript with-stripe-typescript-app # or yarn create next-app --example with-stripe-typescript with-stripe-typescript-app ``` diff --git a/examples/with-style-sheet/README.md b/examples/with-style-sheet/README.md index 64d02a33efc98..98b74f8a44e2e 100644 --- a/examples/with-style-sheet/README.md +++ b/examples/with-style-sheet/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-style-sheet with-style-sheet-app +npx create-next-app --example with-style-sheet with-style-sheet-app # or yarn create next-app --example with-style-sheet with-style-sheet-app ``` diff --git a/examples/with-styled-components-rtl/README.md b/examples/with-styled-components-rtl/README.md index 856bfee703bed..88a3cbf072ef5 100644 --- a/examples/with-styled-components-rtl/README.md +++ b/examples/with-styled-components-rtl/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-styled-components-rtl with-styled-components-rtl-app +npx create-next-app --example with-styled-components-rtl with-styled-components-rtl-app # or yarn create next-app --example with-styled-components-rtl with-styled-components-rtl-app ``` diff --git a/examples/with-styled-components/README.md b/examples/with-styled-components/README.md index 1ce700c8928d2..63bfd0414e0ab 100644 --- a/examples/with-styled-components/README.md +++ b/examples/with-styled-components/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-styled-components with-styled-components-app +npx create-next-app --example with-styled-components with-styled-components-app # or yarn create next-app --example with-styled-components with-styled-components-app ``` diff --git a/examples/with-styled-jsx-plugins/README.md b/examples/with-styled-jsx-plugins/README.md index bec85dde162ae..b221670ccaf86 100644 --- a/examples/with-styled-jsx-plugins/README.md +++ b/examples/with-styled-jsx-plugins/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-styled-jsx-plugins with-styled-jsx-plugins-app +npx create-next-app --example with-styled-jsx-plugins with-styled-jsx-plugins-app # or yarn create next-app --example with-styled-jsx-plugins with-styled-jsx-plugins-app ``` diff --git a/examples/with-styled-jsx-scss/README.md b/examples/with-styled-jsx-scss/README.md index bd94f5529706e..8f9fb501661e3 100644 --- a/examples/with-styled-jsx-scss/README.md +++ b/examples/with-styled-jsx-scss/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-styled-jsx-scss with-styled-jsx-scss-app +npx create-next-app --example with-styled-jsx-scss with-styled-jsx-scss-app # or yarn create next-app --example with-styled-jsx-scss with-styled-jsx-scss-app ``` diff --git a/examples/with-styletron/README.md b/examples/with-styletron/README.md index c5bb9422574f4..c66bd310f4c57 100644 --- a/examples/with-styletron/README.md +++ b/examples/with-styletron/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-styletron with-styletron-app +npx create-next-app --example with-styletron with-styletron-app # or yarn create next-app --example with-styletron with-styletron-app ``` diff --git a/examples/with-tailwindcss-emotion/README.md b/examples/with-tailwindcss-emotion/README.md index 1bb3c08f65fee..1da6acc0ffe58 100644 --- a/examples/with-tailwindcss-emotion/README.md +++ b/examples/with-tailwindcss-emotion/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-tailwindcss-emotion with-tailwindcss-emotion-app +npx create-next-app --example with-tailwindcss-emotion with-tailwindcss-emotion-app # or yarn create next-app --example with-tailwindcss-emotion with-tailwindcss-emotion-app ``` diff --git a/examples/with-tailwindcss/README.md b/examples/with-tailwindcss/README.md index c749bd99cc320..aac37e09af811 100644 --- a/examples/with-tailwindcss/README.md +++ b/examples/with-tailwindcss/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-tailwindcss with-tailwindcss-app +npx create-next-app --example with-tailwindcss with-tailwindcss-app # or yarn create next-app --example with-tailwindcss with-tailwindcss-app ``` diff --git a/examples/with-typescript-graphql/README.md b/examples/with-typescript-graphql/README.md index 7ba94527ddc86..6f686cfa75c5e 100644 --- a/examples/with-typescript-graphql/README.md +++ b/examples/with-typescript-graphql/README.md @@ -27,7 +27,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-typescript-graphql with-typescript-graphql-app +npx create-next-app --example with-typescript-graphql with-typescript-graphql-app # or yarn create next-app --example with-typescript-graphql with-typescript-graphql-app ``` diff --git a/examples/with-typescript-styled-components/README.md b/examples/with-typescript-styled-components/README.md index 57e350f187d42..85ff0b875f22c 100644 --- a/examples/with-typescript-styled-components/README.md +++ b/examples/with-typescript-styled-components/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-typescript-styled-components with-typescript-app +npx create-next-app --example with-typescript-styled-components with-typescript-app # or yarn create next-app --example with-typescript-styled-components with-typescript-app ``` diff --git a/examples/with-typescript/README.md b/examples/with-typescript/README.md index 05062d3722178..edf1b43e5c8ef 100644 --- a/examples/with-typescript/README.md +++ b/examples/with-typescript/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-typescript with-typescript-app +npx create-next-app --example with-typescript with-typescript-app # or yarn create next-app --example with-typescript with-typescript-app ``` diff --git a/examples/with-typestyle/README.md b/examples/with-typestyle/README.md index 2e70f196745eb..cbc57e30ddff8 100644 --- a/examples/with-typestyle/README.md +++ b/examples/with-typestyle/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-typestyle with-typestyle-app +npx create-next-app --example with-typestyle with-typestyle-app # or yarn create next-app --example with-typestyle with-typestyle-app ``` diff --git a/examples/with-universal-configuration-build-time/README.md b/examples/with-universal-configuration-build-time/README.md index 9d94327cbad73..f95b28c2610bc 100644 --- a/examples/with-universal-configuration-build-time/README.md +++ b/examples/with-universal-configuration-build-time/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-universal-configuration-build-time with-universal-configuration-build-time-app +npx create-next-app --example with-universal-configuration-build-time with-universal-configuration-build-time-app # or yarn create next-app --example with-universal-configuration-build-time with-universal-configuration-build-time-app ``` diff --git a/examples/with-universal-configuration-runtime/README.md b/examples/with-universal-configuration-runtime/README.md index 06029415c774e..6be3b4b524981 100644 --- a/examples/with-universal-configuration-runtime/README.md +++ b/examples/with-universal-configuration-runtime/README.md @@ -11,7 +11,7 @@ For documentation see: https://github.com/vercel/next.js#exposing-configuration- Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-universal-configuration-runtime with-universal-configuration-runtime-app +npx create-next-app --example with-universal-configuration-runtime with-universal-configuration-runtime-app # or yarn create next-app --example with-universal-configuration-runtime with-universal-configuration-runtime-app ``` diff --git a/examples/with-unstated/README.md b/examples/with-unstated/README.md index 79ab584584cd6..027ad2ffce9aa 100644 --- a/examples/with-unstated/README.md +++ b/examples/with-unstated/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-unstated with-unstated-app +npx create-next-app --example with-unstated with-unstated-app # or yarn create next-app --example with-unstated with-unstated-app ``` diff --git a/examples/with-urql/README.md b/examples/with-urql/README.md index 420e7e7f716cc..3d200c2080510 100644 --- a/examples/with-urql/README.md +++ b/examples/with-urql/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com/now): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-urql with-urql-app +npx create-next-app --example with-urql with-urql-app # or yarn create next-app --example with-urql with-urql-app ``` diff --git a/examples/with-userbase/README.md b/examples/with-userbase/README.md index 9ffb3438f4ca4..f9684dbb2cfec 100644 --- a/examples/with-userbase/README.md +++ b/examples/with-userbase/README.md @@ -17,7 +17,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-userbase next-userbase-app +npx create-next-app --example with-userbase next-userbase-app # or yarn create next-app --example with-userbase next-userbase-app ``` diff --git a/examples/with-videojs/README.md b/examples/with-videojs/README.md index 7fbdc357b1367..814b496571994 100644 --- a/examples/with-videojs/README.md +++ b/examples/with-videojs/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:: ```bash -npm init next-app --example with-videojs with-videojs-app +npx create-next-app --example with-videojs with-videojs-app # or yarn create next-app --example with-videojs with-videojs-app ``` diff --git a/examples/with-web-worker/README.md b/examples/with-web-worker/README.md index 28e8d6d83157f..0cf956ec24446 100644 --- a/examples/with-web-worker/README.md +++ b/examples/with-web-worker/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com/): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-web-worker with-web-worker-app +npx create-next-app --example with-web-worker with-web-worker-app # or yarn create next-app --example with-web-worker with-web-worker-app ``` diff --git a/examples/with-webassembly/README.md b/examples/with-webassembly/README.md index f8e2a30e15c59..a2b0da3c10e70 100644 --- a/examples/with-webassembly/README.md +++ b/examples/with-webassembly/README.md @@ -9,7 +9,7 @@ This example shows how to import WebAssembly files (`.wasm`) and use them inside Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-webassembly with-webassembly-app +npx create-next-app --example with-webassembly with-webassembly-app # or yarn create next-app --example with-webassembly with-webassembly-app ``` diff --git a/examples/with-webpack-bundle-size-analyzer/README.md b/examples/with-webpack-bundle-size-analyzer/README.md index e6612cab15843..16a384fa536f8 100644 --- a/examples/with-webpack-bundle-size-analyzer/README.md +++ b/examples/with-webpack-bundle-size-analyzer/README.md @@ -9,7 +9,7 @@ This example shows how to analyze the output bundles using [webpack-bundle-size- Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app +npx create-next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app # or yarn create next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app ``` diff --git a/examples/with-xstate/README.md b/examples/with-xstate/README.md index e533f1f669215..41083ae65dddd 100644 --- a/examples/with-xstate/README.md +++ b/examples/with-xstate/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-xstate with-xstate-app +npx create-next-app --example with-xstate with-xstate-app # or yarn create next-app --example with-xstate with-xstate-app ``` diff --git a/examples/with-yarn-workspaces/README.md b/examples/with-yarn-workspaces/README.md index 98c83ee4fc40a..0f4d2ca6f5034 100644 --- a/examples/with-yarn-workspaces/README.md +++ b/examples/with-yarn-workspaces/README.md @@ -21,7 +21,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-yarn-workspaces with-yarn-workspaces-app +npx create-next-app --example with-yarn-workspaces with-yarn-workspaces-app # or yarn create next-app --example with-yarn-workspaces with-yarn-workspaces-app ``` diff --git a/examples/with-zeit-fetch/README.md b/examples/with-zeit-fetch/README.md index ece7a21a120c6..e7c89d04de18c 100644 --- a/examples/with-zeit-fetch/README.md +++ b/examples/with-zeit-fetch/README.md @@ -15,7 +15,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-zeit-fetch with-zeit-fetch-app +npx create-next-app --example with-zeit-fetch with-zeit-fetch-app # or yarn create next-app --example with-zeit-fetch with-zeit-fetch-app ``` diff --git a/examples/with-zones/README.md b/examples/with-zones/README.md index bf0410de10578..4eec124120caa 100644 --- a/examples/with-zones/README.md +++ b/examples/with-zones/README.md @@ -20,7 +20,7 @@ Deploy the example using [Vercel](https://vercel.com): Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: ```bash -npm init next-app --example with-zones with-zones-app +npx create-next-app --example with-zones with-zones-app # or yarn create next-app --example with-zones with-zones-app ```