mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
a7cb342b6f
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
13 lines
438 B
Markdown
13 lines
438 B
Markdown
# nix flake init
|
|
|
|
> Create a flake in the current directory from a template.
|
|
> More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-init.html>.
|
|
|
|
- Create a new flake from the default template, in the current directory:
|
|
|
|
`nix flake init`
|
|
|
|
- Create a new flake with a specified template (see `nix flake show` for information about templates):
|
|
|
|
`nix flake init {{[-t|--template]}} templates#{{your_template}}`
|