Hello

On top of what Nicholas said, maybe you can use chocolatey that is a
package installer that will do the installation for you and configure the
path.

But basic command line info here. There is a variable that is called PATH
that tells the command prompt where look for executable files and run them.

In Windows, if packer.exe is on the same directory where you are, you can
just call packer

but if packer is on a different directory need to be added to PATH so you
can call the command without the full path

Alvaro

On Mon, Jan 15, 2018 at 6:08 PM, Anna Schreiber <[email protected]>
wrote:

> Hi there,
>
> I'm completing the DevOps course on Udacity, and it requires installation
> of Packer to create a golden image. I downloaded Packer and tried accessing
> it from a few different directories, but each time I receive this error:
> "bash: packer: command not found". However, if I run
> "/c/Users/Owner/packer.exe" from the command line, that works. I'm fairly
> new to this stuff, I need to access several of the commands in Packer for
> this project, but don't know how to reach it using just the "packer" command.
> For example, I need to run "packer build -only=virtualbox-iso
> application-server.json" but I get the command not found error.
>
> Any help would be appreciated!
>
> Thank you,
>
> Anna
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/fa1e79d2-5500-45d2-bde2-725ffd5bf573%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/fa1e79d2-5500-45d2-bde2-725ffd5bf573%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0eyAMmobtWx5aHSXm1gYFT_Wdk1wgBMuwr33RYyEaSjUrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to