Change npx to pnpm to be consistent with the documentation earlier on the same page. In addition, every section named Deploy Our Changes in the following chapter (BUILDING A SERVERLESS API) references this command using pnpm and not npx.
Also when going through the guide the first time the dev server is started is using pnpm. Create A Hello World Api and really every other time is using pnpm like pnpm sst remove API
Change npx to pnpm to be consistent with the documentation earlier on the same page. In addition, every section named Deploy Our Changes in the following chapter (BUILDING A SERVERLESS API) references this command using pnpm and not npx.