create-next-appするときに色々オプションなどがあるので調べる | Next.js 12.x その0003
参考にさせていただいたページ
TypeScript
公式ページに書いてありました。
npxとyarnとでハイフンがあったり無かったりします。
npx create-next-app@latest --ts # or yarn create next-app --typescript # or pnpm create next-app --ts
ディレクトリ名(プロジェクト名を指定するとき)
yarn create next-app --ts hoge-dir