https://pulumi.com logo
#getting-started
Title
# getting-started
h

happy-energy-53232

08/23/2023, 8:53 AM
Hello, I try to start a pulumi setup. I ran
pulumi login --local
and then
pulumi new <https://github.com/pulumi/pulumi-libvirt>
but I get this error:
Copy code
error: no templates
l

limited-rainbow-51650

08/23/2023, 12:13 PM
@happy-energy-53232 the argument to
pulumi new
is a location where project templates can be found, like the default repo https://github.com/pulumi/templates. If you want to set up a project where you want to make use of the
libvirt
provider, run
pulumi new
and select a template only matching your preferred programming language, e.g.
typescript
,
go
,
python
, ... Once the template for your Pulumi project is instantiated, you can use the programming specific dependency management tool to add the language package to your setup. The package names can be found in the Registry page of `libvirt`: https://www.pulumi.com/registry/packages/libvirt/installation-configuration/
h

happy-energy-53232

08/23/2023, 12:14 PM
Hello, thanks for the answer. Where can I find those templates?
oh sorry, that was in your answer
l

limited-rainbow-51650

08/23/2023, 12:16 PM
If you run
pulumi new
without further arguments, the default location mentioned in my previous message will be used.
h

happy-energy-53232

08/23/2023, 12:17 PM
strange, there is no libvirt template there
l

limited-rainbow-51650

08/23/2023, 12:19 PM
Indeed. We can not create templates for every provider in our registry. But as mentioned before, you can use the template for the programming language you want to use and then add the libvirt package to your setup.
h

happy-energy-53232

08/23/2023, 12:19 PM
ok then.