Installation
Taqueria Installation Basics
Installing Taqueria is a quick and easy process if you understand a few basic concepts and follow the steps outlined in this guide
There are two main components you can install:
- The Taqueria CLI (required)
- The VS Code plugin for Taqueria (optional)
The Taqueria CLI is required to use the VS Code extension and as such, must be installed first
Requirements
Taqueria CLI
- Node.js v16.16 or later. (v17.x.x or later is not supported)
- A compatible operating system:
- MacOS
- Linux
- Windows (via WSL 2)
- Docker v20.10.12 or later
Installing the Taqueria CLI
Overview
The Taqueria CLI is an executable binary named taq
, installed globally in your shell's $PATH
Installing the Taqueria CLI involves the following steps:
- Download the correct build of Taqueria for your operating system
- Make the Taqueria binary
taq
executable - Add
taq
to your shell's$PATH
Once these steps are complete, you will be able to run Taqueria from your terminal using the taq
command
OS Specific Instructions
- MacOS
- Linux
- Windows
- Download the latest MacOS build of Taqueria
curl -LO https://taqueria.io/get/macos/taq
- Make the binary file executable
chmod +x taq
- Move the binary to a directory in your shell's
$PATH
sudo mv taq /usr/local/bin
- Disable MacOS Gatekeeper to allow Taqueria to run
sudo spctl --master-disable
Currently the taq
binary is not signed for Mac OS. In order to run Taqueria, users must disable MacOS Gatekeeper (This is not ideal)
This is a temporary workaround until we can sign the binaries (see #129)
If you want to re-enable the MacOS Gatekeeper later on, run the command
sudo spctl --master-enable
- Download the latest Linux build of Taqueria
curl -LO https://taqueria.io/get/linux/taq
- Make the binary file executable
chmod +x taq
- Move the binary to a directory in your shell's
$PATH
sudo mv taq /usr/local/bin
Windows users will run the Linux version of Taqueria in Ubuntu using the Windows Subsystem for Linux (WSL 2)
Requirements
You must be running Windows 10 version 2004 and higher, or Windows 11
Install WSL 2
Open a Power Shell or Windows Command Prompt as an administrator and run:
wsl --install
Restart your machine
Open the Ubuntu distribution using the Start if it doesn't start automatically after restarting
Create a user name and password
Install Docker Desktop WSL 2 backend
Download Docker Desktop for Windows
Run the installer making sure to enable WSL 2 during the installation if prompted
Start Docker Desktop from the Windows Start menu
From the Docker menu, navigate to
Settings > General
and selectUse WSL 2 based engine
if not already selectedClick
Apply & Restart
To confirm that Docker Desktop backend has been installed properly, open a WSL 2 terminal and run:
wsl.exe -l -v
You should see the following output:
NAME STATE VERSION
* Ubuntu Running 2
docker-desktop-data Running 2
docker-desktop Running 2
Install Node v16
- Update the
apt
package index:
sudo apt update
- Install dependencies:
sudo apt install curl git
- Download Node.js v16.16 or later. (v17.x.x or later is not supported)
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
- (Optional) Install the node development tools
sudo apt-get install gcc g++ make
To confirm that Node v16.x has been installed properly, open a new WSL 2 terminal and run:
node --version
You should see v16.x.x
or similar returned.
Install the Taqueria Binary
- Download the latest Linux build of Taqueria
curl -LO https://taqueria.io/get/linux/taq
- Make the binary file executable
chmod +x taq
- Move the binary to a directory in your shell's
$PATH
sudo mv taq /usr/local/bin
Test the CLI
At this point, Taqueria should be installed and ready to use. You can test this by running the following command:
taq --version
You should see the version of Taqueria installed output:
0.40.6
If you see this, you have successfully installed the Taqueria CLI!
Installing the VS Code Extension (optional)
The Taqueria VS Code Extension is installed from the Extensions pane within VS Code. The steps to install are:
- Open the Extensions pane
- Type
Taqueria
in the search bar - Click install