Differences
This shows you the differences between two versions of the page.
| |
macos [2024/09/14 15:38] – Created this page to document (unofficial) setup for `make` on MacOS admin | macos [2025/06/11 20:42] (current) – Add explicit Homebrew instructions + 9.0 update admin |
---|
=== Setting up your environment === | === Setting up your environment === |
| |
Folk is built on [[https://wiki.tcl-lang.org/|Tcl]], so you'll need to install the latest version for 'folk' to work correctly. MacOS has a version of ''tcl-tk'' installed by default but you [[https://www.python.org/download/mac/tcltk/#:~:text=A%20built%2Din%20version%20of,use%20the%20Apple%2Dsupplied%20Pythons.|really shouldn't use it because it's riddled with bugs and warnings]]. Let's get you set up with the latest version of Tcl <sup>(as of September 2024)</sup>: | Folk is built on [[https://wiki.tcl-lang.org/|Tcl]], so you'll need to install the latest version for 'folk' to work correctly. MacOS has a version of ''tcl-tk'' installed by default but you [[https://www.python.org/download/mac/tcltk/#:~:text=A%20built%2Din%20version%20of,use%20the%20Apple%2Dsupplied%20Pythons.|really shouldn't use it because it's riddled with bugs and warnings]]. Let's get you set up with the latest version of Tcl <sup>(as of June 2025)</sup>: |
| |
- Download the latest [[https://formulae.brew.sh/formula/tcl-tk|tcl-tk]] from [[https://brew.sh/|Homebrew]]: | - Download the latest [[https://formulae.brew.sh/formula/tcl-tk|tcl-tk]] from [[https://brew.sh/|Homebrew]]: |
* <code bash> | * <code bash> |
# In your terminal: | # In your terminal: |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
| # and then run this: |
brew install tcl-tk | brew install tcl-tk |
</code> | </code> |
# In your command line run: | # In your command line run: |
echo 'puts $tcl_version;exit 0' | tclsh | echo 'puts $tcl_version;exit 0' | tclsh |
8.6 | 9.0 |
# ↑ Expected output | # ↑ Expected output, 9.0 or higher |
</code> | </code> |
- TODO ... | - TODO ... |