create-solana-dapp
The fastest way to create Solana apps π Templates π https://github.com/solana-foundation/templates
νμΌ νμκΈ°
- config.json
- display-name-init-rename.md
- embeddable-api-surface.md
- esm-bin-node-22-floor.md
- export-template-schemas.md
- mobile-template-filter.md
- package-manager-diagnostics.md
- README.md
- recover-corrupt-template-archive.md
- refresh-cli-dependencies.md
- remove-incompatible-package-manager.md
- rename-in-deprecate-paths.md
- skills-init-config.md
- template-first-prompt-order.md
- template-option-flags.md
- template-option-run-script.md
- template-package-manager.md
- windows-lockfile-cleanup.md
- zod-v4-schemas.md
- action.yml
- publish-packages.yml
- publish-pkg-pr-new.yml
- pull-requests.yml
- typescript-build.yml
- typescript-test.yml
- extensions.json
- settings.json
- fs.ts
- index.ts
- child-process-utils.ts
- clack-tasks.ts
- git.ts
- names.ts
- package-manager.ts
- corrupt-archive-error.ts
- create-app-task-clone-template.ts
- create-app-task-initialize-git.ts
- create-app-task-install-dependencies.ts
- create-app-task-install-skills.ts
- create-app-task-run-init-script.ts
- create-app-task-run-option-script.ts
- create-app-task-run-setup.ts
- create-app.ts
- ensure-target-path.ts
- extract-template-option-flags.ts
- fetch-template-data.ts
- fetch-templates.ts
- final-note.ts
- find-template.ts
- get-app-info.ts
- get-args-result.ts
- get-args.ts
- get-menu-config.ts
- get-menu-items-from-template-groups.ts
- get-package-json-path.ts
- get-package-json.ts
- get-prompt-name.ts
- get-prompt-template.ts
- get-prompts.ts
- get-start-script.ts
- get-template-groups-from-url.ts
- get-templates-from-items.ts
- get-templates-url.ts
- get-version-command.ts
- get-version-urls.ts
- get-version.ts
- init-script-delete.ts
- init-script-instructions.ts
- init-script-options.ts
- init-script-package-manager.ts
- init-script-rename.ts
- init-script-schema.ts
- init-script-version-check.ts
- init-script-version.ts
- list-template-ids.ts
- list-templates.ts
- list-versions.ts
- menu-utils.ts
- parse-version.ts
- remove-incompatible-package-manager.ts
- run-version-check.ts
- search-and-replace.ts
- template-schema.ts
- template.ts
- validate-project-name.ts
- validate-version.ts
- index.ts
- corrupt-archive-error.test.ts
- create-app-task-clone-template.test.ts
- create-app-task-install-dependencies.test.ts
- create-app-task-install-skills.test.ts
- create-app-task-run-init-script.test.ts
- create-app-task-run-option-script.test.ts
- create-app.test.ts
- extract-template-option-flags.test.ts
- final-note.test.ts
- get-args.test.ts
- get-package-json-path.test.ts
- get-package-json.test.ts
- get-prompts.test.ts
- get-start-script.test.ts
- get-version-commands.test.ts
- get-version-urls.test.ts
- get-version.test.ts
- init-script-delete.test.ts
- init-script-instructions.test.ts
- init-script-options.test.ts
- init-script-package-manager.test.ts
- init-script-rename.test.ts
- init-script-schema.test.ts
- init-script-version-check.test.ts
- init-script-version.test.ts
- main.test.ts
- package-manifest.test.ts
- parse-version.test.ts
- remove-incompatible-package-manager.test.ts
- root-exports-schemas.test.ts
- root-exports.test.ts
- search-and-replace.test.ts
- validate-version.test.ts
- .editorconfig
- .gitignore
- .prettierignore
- .prettierrc
- CHANGELOG.md
- CONTRIBUTING.md
- csd.sh
- Dockerfile
- eslint.config.mjs
- lefthook.yml
- LICENSE
- MAINTAINERS.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- vitest.config.ts
# CDNμΌλ‘ μ¬μ©νκΈ°
jsDelivrjsDelivrλ κ³΅κ° GitHub 리ν¬μ§ν 리λ₯Ό λ³λ μ€μ μμ΄ CDNμΌλ‘ μ¦μ μλΉν©λλ€. λ²μ κ³Ό νμΌμ κ³ λ₯΄λ©΄ μΉνμ΄μ§μ λ°λ‘ λΆμΌ μ μλ λ§ν¬μ μμ μ½λκ° λ§λ€μ΄μ§λλ€.
λͺ λ Ήμ΄ μ©μ΄μ§
μ΄ λ¬Έμμμ μ¬μ©λ λͺ λ Ήμ΄λ₯Ό λͺ¨μλ΄€μ΅λλ€. λ―μ λͺ λ Ήμ΄κ° μλ€λ©΄ νΌμ³μ νμΈν΄λ³΄μΈμ.
bun create
μ€λͺ
보기 βΌ
bun create
Create a new project from a template.
bun {{[c|create]}} {{template}}
Create a new project from an official template interactively:
bun {{[c|create]}} {{template}} {{path/to/destination}}
Create a new project from an official template in a new directory:
bun {{[c|create]}} {{https://github.com/username/repo}} {{path/to/destination}}
Create a new project from a GitHub repository template:
corepack
μ€λͺ
보기 βΌ
corepack
Node νλ‘μ νΈμ ν΄λΉ ν¨ν€μ§ κ΄λ¦¬μ μ¬μ΄μ λΈλΌμ§ μν μ νλ λ°νμ μ’
μμ±μ΄ μλ ν¨ν€μ§.
λ λ§μ μ 보: <https://github.com/nodejs/corepack>.
corepack enable
Corepack shimμ Node.js μ€μΉ λλ ν°λ¦¬μ μΆκ°νμ¬ μ μ λͺ λ ΉμΌλ‘ μ¬μ©ν μ μλλ‘ ν¨:
corepack enable --install-directory {{path/to/directory}}
νΉμ λλ ν 리μ Corepack shimμ μΆκ°ν¨:
corepack disable
Node.js μ€μΉ λλ ν°λ¦¬μμ Corepack shimμ μ κ±°:
git clone
μ€λͺ
보기 βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm
μ€λͺ
보기 βΌ
npm
JavaScript λ° Node.js ν¨ν€μ§ κ΄λ¦¬μ.
Node.js νλ‘μ νΈ λ° λͺ¨λ μμ‘΄μ±μ κ΄λ¦¬ν©λλ€.
λ λ§μ μ 보: <https://docs.npmjs.com/cli/npm/>.
npm init {{[-y|--yes]}}
κΈ°λ³Έκ°μΌλ‘ `package.json` νμΌ μμ± (`--yes`λ₯Ό μλ΅νλ©΄ λνμμΌλ‘ μ§ν):
npm {{[i|install]}}
package.jsonμ μμ‘΄μ±μΌλ‘ λμ΄λ λͺ¨λ ν¨ν€μ§λ₯Ό λ€μ΄λ‘λ:
npm {{[i|install]}} {{package_name}}@{{version}}
νΉμ λ²μ μ ν¨ν€μ§λ₯Ό λ€μ΄λ‘λνκ³ `package.json`μ μμ‘΄μ± λͺ©λ‘μ μΆκ°:
pnpm
μ€λͺ
보기 βΌ
pnpm
λΉ λ₯΄κ³ , λμ€ν¬ κ³΅κ° ν¨μ¨μ μΈ Node.jsμ© ν¨ν€μ§ κ΄λ¦¬μ.
Node.js νλ‘μ νΈ λ° ν΄λΉ λͺ¨λ μμ‘΄μ± κ΄λ¦¬.
λ λ§μ μ 보: <https://pnpm.io/pnpm-cli>.
pnpm init
`package.json` νμΌ μμ±:
pnpm {{[i|install]}}
`package.json`μ μμ‘΄μ±μΌλ‘ λμ΄λ λͺ¨λ ν¨ν€μ§λ₯Ό λ€μ΄λ‘λ:
pnpm add {{module_name}}@{{version}}
νΉμ λ²μ μ ν¨ν€μ§λ₯Ό λ€μ΄λ‘λνμ¬ `package.json`μ μμ‘΄μ± λͺ©λ‘μ μΆκ°:
yarn
μ€λͺ
보기 βΌ
yarn
JavaScript λ° Node.js ν¨ν€μ§ λ체 κ΄λ¦¬μ.
λ λ§μ μ 보: <https://yarnpkg.com/cli>.
yarn global add {{module_name}}
μ μμ μΌλ‘ λͺ¨λ μ€μΉ:
yarn install
`package.json` νμΌμ μ°Έμ‘°λ λͺ¨λ μμ‘΄μ±μ μ€μΉ ( `install`μ μ ν μ¬νμ λλ€):
yarn add {{module_name}}@{{version}}
λͺ¨λμ μ€μΉνκ³ `package.json` νμΌμ λν μμ‘΄μ±μΌλ‘ μ μ₯ (κ°λ° μ μ© μμ‘΄μ±μΌλ‘ μΆκ°νλ €λ©΄ `--dev` μΆκ°):
