Setting Up Meta’s LLama on macOS

If you’re a macOS user, here’s a step-by-step guide to get you up and running with Meta’s LLama.

Patrick Rachford
1 min readAug 24, 2023

Request Access to LLama

Navigate to Meta’s Llama Download Page.

Fill in the required details: name, email, location, and company.

Clone the Repository

Execute the following command to download the git repository:

gh repo clone facebookresearch/codellama

Install Essential Tools

Before proceeding, ensure you have wget and coreutils installed. If not, you can install them using Homebrew:

brew install wget brew install coreutils

Set Up Conda

First, install Miniconda by visiting Miniconda’s Official Website.

Launch Conda and update it with the following command:

conda update -n base -c defaults conda

Create a new environment named pytorch with Python 3.8:

conda create - name pytorch python=3.8

Activate the pytorch environment:

conda activate pytorch

Install Necessary Dependencies

Within your Conda environment, install the required packages:

pip install -e .

Download Models

To initiate the downloading process, run:


When prompted, input the email address you used for the Meta request form.

Press Enter on your keyboard to begin downloading all the models. And that's it! With these steps completed, you should have Meta's LLama set up on your macOS device, ready for exploration and development.



Patrick Rachford

Currently at Temporal, previously at AWS. I enjoy documenting my thoughts and sharing ideas with others.