> For the complete documentation index, see [llms.txt](https://docs.faronics.com/faronicsdeploy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.faronics.com/faronicsdeploy/application-management/macos-apps/shell-scripts-on-mac-os.md).

# Shell Scripts on macOS

## Shell Scripts

Shell scripts can be created to perform tasks on a macOS Computer. These scripts save time as they replace manual configuration that may be required prior to or post-installation of applications.&#x20;

## Create the Shell Script and Upload it to a Web Server or FTP Location

![Create a Custom Mac Script](https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MUQ8UhAV6bu1O7BS9oU%2F-MUQATd98jRm-zwNVNGO%2Fimage.png?alt=media\&token=02b5b2a9-770f-45da-9bc0-29a3eb649143)

1\. Create your shell script (If you need assistance with this, see [Need Some Assistance with Shell Scripts?](/faronicsdeploy/application-management/macos-apps/shell-scripts-on-mac-os.md#need-some-assistance-with-shell-scripts)).

2\. Upload your shell script to a **web server** or **FTP** location.

3\. Select the **Control Grid** tab on the top menu bar.

4\. Navigate to the **Applications** tab.

5\. Scroll down to the **All-Mac** grid.

6\. Click the <img src="https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MTvF8VaAHCxyNZBN0fp%2F-MTvGik9BHO9ZmqsnI7U%2Fcustomscripticon.png?alt=media&amp;token=a2bfc554-791a-463d-b495-1310a408cd17" alt="" data-size="original">button above the All-Mac grid.&#x20;

7\. Select **Create Custom Mac Script** from the drop-down list. &#x20;

8\. Enter a **Script Name** and **URL;** any additional **command line parameters** that you need can be set here too.

&#x20;<img src="https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MUQ8UhAV6bu1O7BS9oU%2F-MUQIERoLksaGdVxsyAB%2Fimage.png?alt=media&amp;token=4030ab71-321b-4eec-a42e-d0920f1433bd" alt="" data-size="original">&#x20;

9\. Click **SAVE TO GRID**.

{% hint style="success" %}
The Custom Script is now listed in the All-Mac grid and can be searched for using the search bar. The script can be executed on a single or a group of macOS computers.
{% endhint %}

## Need Some Assistance with Shell Scripts?&#x20;

No problem! Contact us via Faronics Deploy:&#x20;

![Select Create Custom Mac Script](https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MUQIMJRTEBzlqcuB_17%2F-MUQIpqr--bGUxydXft2%2Fimage.png?alt=media\&token=b710ada5-bb91-45a2-bcdd-26ec1d8c53f8)

1\. Select the **Control Grid** tab on the top menu bar.

2\. Navigate to the **Applications** tab.

3\. Scroll down to the **All-Mac** grid.

4\. Click the <img src="https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MTvF8VaAHCxyNZBN0fp%2F-MTvGik9BHO9ZmqsnI7U%2Fcustomscripticon.png?alt=media&amp;token=a2bfc554-791a-463d-b495-1310a408cd17" alt="" data-size="original">button above the All-Mac grid. &#x20;

5\. Select **Create Custom Mac Script** from the drop-down list.&#x20;

6\. Click on the **Talk to a Deployment Specialist** link in the **Command Line** section.&#x20;

<img src="https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MUQIMJRTEBzlqcuB_17%2F-MUQJBwiBqCM0CR_lIpv%2Fimage.png?alt=media&amp;token=668591b0-93fe-489e-a0d0-a66bdcdc56d9" alt="" data-size="original">&#x20;

7\. Enter your phone number in the field provided.

&#x20;<img src="https://3007061244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRkQfx_2cLnNNBX1muO%2F-MUQIMJRTEBzlqcuB_17%2F-MUQKLhNFHYbZZPOZm1e%2Fimage.png?alt=media&amp;token=ab5b25b5-7b55-49d8-b417-24e36ac5b328" alt="" data-size="original">&#x20;

8\. Enter your query to send to the specialist in the text box.

{% hint style="info" %}
Your name and email address will be pre-populated, the name can be changed, but the email address cannot.
{% endhint %}

9\. Click the blue SUBMIT button.

{% hint style="success" %}
You have successfully requested assistance; a Deploy Specialist will be in touch shortly.
{% endhint %}
