How to execute bolt commands other than in powershell?

243 Views Asked by At

I know we can write bolt commands as below in powershell and save it as .ps1

bolt task run package action=install name=apache2

We can excute that powershell script to run bolt commands.

But are there any other different methods to execute bolt commands other than powershell.

kindly let me know.

1

There are 1 best solutions below

0
On

Bolt is a command-line tool, so you can use any compatible command-line shell to execute Bolt commands.

You mention saving Bolt commands in a powershell script and executing them from there. I think Bolt plans might be useful to you. Check out the Bolt Getting started guide - it details creating a plan that includes a Bolt task and a bash script.