HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/node_modules/node-sass/src/libsass/docs/build-on-darwin.md
To install LibSass, make sure the OS X build tools are installed:

    xcode-select --install

## Homebrew

To install homebrew, see [http://brew.sh](http://brew.sh)

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

You can install the latest version of LibSass quite easily with brew.

    brew install --HEAD libsass

To update this, do:

    brew reinstall --HEAD libsass

Brew will build static and shared libraries, and a `libsass.pc` file in `/usr/local/lib/pkgconfig`.

To use `libsass.pc`, make sure this path is in your `PKG_CONFIG_PATH`

    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

## Manually

See the linux instructions [Building-with-autotools](build-with-autotools.md) or [Building-with-makefiles](build-with-makefiles.md)