> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meetsilicon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to install the Silicon CLI

> Install the Silicon CLI with Homebrew on macOS, Linux, or Windows (WSL)

## Installation options

We recommend installing the Silicon CLI with **Homebrew**. It works on macOS, Linux, and Windows (via WSL), ships a self-contained binary, and doesn't require Node.js.

| Platform | Recommended method |
| - | - |
| macOS (Apple Silicon or Intel) | [Homebrew](#install-via-homebrew) |
| Linux (x86\_64) | [Homebrew](#install-via-homebrew) |
| Windows | [WSL + Homebrew](#install-on-windows-wsl) |

If you can't use Homebrew, you can [download the binary directly](#download-binary-directly) from GitHub releases. Installing via npm is still supported as an [advanced option](#advanced-install-via-npm).

## Install via Homebrew

```bash theme={null}
brew tap silicon/silicon
brew trust silicon/silicon
brew install silicon
silicon --version
```

> [accordion] Why `brew trust`?
>
> Homebrew 7 refuses to load formulae from any tap outside the official ones until you trust that tap. The `brew trust` line gives that consent for the Silicon tap and is remembered in `~/.homebrew/trust.json`; `brew untrust silicon/silicon` reverses it. Homebrew 5.1.15 and later accept the command, so it is safe to keep in scripts.
>
> If you installed the CLI before upgrading to Homebrew 7, `brew upgrade silicon` stops with `Refusing to load formula silicon/silicon/silicon from untrusted tap silicon/silicon`. Run `brew trust silicon/silicon` once and retry.

> [accordion] Don't have Homebrew installed?
>
> Homebrew runs on macOS and Linux (including WSL). Install it with the one-liner from [brew.sh](https://brew.sh):
>
> ```bash theme={null}
> /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
> ```
>
> On Linux, follow the "Next steps" the installer prints to add Homebrew to your `PATH`, then open a new shell. See the [Homebrew on Linux docs](https://docs.brew.sh/Homebrew-on-Linux) for requirements.

> [!NOTE]
>
> Homebrew currently supports macOS (Apple Silicon and Intel) and Linux x86\_64. Linux ARM isn't available yet; use [npm](#advanced-install-via-npm) there.

## Install on Windows (WSL)

The Silicon CLI doesn't ship a native Windows binary. Install it inside [WSL (Windows Subsystem for Linux)](https://learn.microsoft.com/en-us/windows/wsl/install), which gives you a real Linux shell where the CLI and dbt behave exactly as they do on macOS and Linux.

**1. Install WSL and Ubuntu**

Open **PowerShell as Administrator** and run:

```powershell theme={null}
wsl --install -d Ubuntu
```

Restart your machine when prompted, then launch **Ubuntu** from the Start menu and finish the first-time user setup (username + password).

**2. Install Homebrew inside WSL**

From your **Ubuntu (WSL) terminal**:

```bash theme={null}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

Follow the "Next steps" the installer prints to add Homebrew to your `PATH`, then close and reopen the terminal.

**3. Install the Silicon CLI**

Still inside WSL:

```bash theme={null}
brew tap silicon/silicon
brew trust silicon/silicon
brew install silicon
silicon --version
```

**4. Work from your Linux home directory**

Clone repos and run `silicon` commands from your WSL home directory (e.g. `~/projects`), **not** from `/mnt/c/...`. File watching, permissions, and dbt are all significantly faster on the Linux filesystem.

You can open a WSL folder in VS Code with:

```bash theme={null}
code .
```

VS Code will install the [WSL extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) the first time you do this.

> [!TIP]
>
> Once WSL is set up, every other guide in these docs -- [authenticating your CLI](https://docs.meetsilicon.com/workflow/cli/authenticate.md), [`silicon preview`](https://docs.meetsilicon.com/workflow/preview-projects), [`silicon deploy`](https://docs.meetsilicon.com/workflow/cli/deploy) -- works exactly as written for macOS/Linux. Just run the commands in your Ubuntu terminal.

On locked-down corporate laptops (Zscaler, Netskope, SSL inspection) you may hit TLS errors on `silicon login` and `silicon deploy` -- see [Windows troubleshooting](#windows-troubleshooting).

## Download binary directly

If you don't want to use a package manager, download a prebuilt binary from [GitHub releases](https://github.com/meetsilicon/silicon/releases). Binaries bundle their own Node.js runtime, so **you don't need Node installed**.

Each release publishes these assets, named for the release version:

* `silicon-cli-<version>-macos-arm64.tar.gz` -- Apple Silicon Macs
* `silicon-cli-<version>-macos-x64.tar.gz` -- Intel Macs
* `silicon-cli-<version>-linux-x64.tar.gz` -- Linux x86\_64 (including WSL)

**1. Find your platform**

```bash theme={null}
uname -sm
# Darwin arm64   -> macos-arm64
# Darwin x86_64  -> macos-x64
# Linux x86_64   -> linux-x64
```

**2. Download the matching asset**

Pick the version you want from the [releases page](https://github.com/meetsilicon/silicon/releases), then download it (replace `<version>` and `<platform>`, e.g. `linux-x64`):

```bash theme={null}
curl -LO https://github.com/meetsilicon/silicon/releases/download/<version>/silicon-cli-<version>-<platform>.tar.gz
```

**3. Extract and move it onto your PATH**

The archive contains a single binary named `silicon-<platform>`:

```bash theme={null}
tar -xzf silicon-cli-<version>-<platform>.tar.gz
chmod +x silicon-<platform>
sudo mv silicon-<platform> /usr/local/bin/silicon
silicon --version
```

## Advanced: install via npm

The CLI is also published to npm as [`@meetsilicon/cli`](https://www.npmjs.com/package/@meetsilicon/cli). Use this if you need a platform Homebrew doesn't cover (Linux ARM, native Windows PowerShell), want to pin a specific version, or are installing in CI where Node is already present.

You need Node.js 24 or newer. Check with `node -v`, or install it via [NVM](https://github.com/nvm-sh/nvm#install--update-script) (macOS, Linux, WSL) or [nodejs.org](https://nodejs.org/en/download) / `winget install OpenJS.NodeJS.LTS` (Windows).

```bash theme={null}
npm install -g @meetsilicon/cli
silicon --version
```

> [!WARNING]
>
> Native Windows (PowerShell) via npm is less well-tested than WSL. If you hit issues with dbt, file paths, or Node globals, switch to [WSL](#install-on-windows-wsl).

If you get an `npm ERR! code EACCES` error, [follow this guide](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally) to resolve it. On native Windows, if `silicon` isn't found after install, close and reopen PowerShell so it picks up the updated `PATH`; if PowerShell blocks the script, run `Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned`.

## Windows troubleshooting

These issues come up on locked-down corporate Windows laptops. Try them in order.

### `unable to get local issuer certificate` on `silicon login` or `deploy`

You'll see errors like:

```text theme={null}
FetchError: request to https://app.meetsilicon.com/... failed,
reason: unable to get local issuer certificate
```

or

```text theme={null}
OAuth failed due to corporate SSL (Zscaler / Netskope / etc.)
```

This is your corporate proxy (Zscaler, Netskope, ZIA, a Palo Alto firewall, etc.) doing TLS inspection -- Node.js doesn't trust the intercepting certificate. Fix it by pointing Node at your company CA bundle.

**1. Get your corporate root CA as a .pem file**

Ask IT for the company root CA certificate as a `.pem` (or `.crt`) file. You can often export it yourself from Windows: run `certmgr.msc`, find the Zscaler / corporate root under **Trusted Root Certification Authorities**, then **All Tasks -> Export -> Base-64 encoded X.509 (.CER)** and rename to `.pem`.

**2. Point Node at it permanently**

In **PowerShell**, set a user-level environment variable so every new shell picks it up:

```powershell theme={null}
[Environment]::SetEnvironmentVariable(
  "NODE_EXTRA_CA_CERTS",
  "C:\Users\<you>\certs\corporate-root.pem",
  "User"
)
```

Close and reopen your terminal (and Cursor / VS Code) so the variable is picked up. Then retry:

```powershell theme={null}
silicon login https://app.meetsilicon.com
```

> [!WARNING]
>
> **Last-resort workaround only:** if you cannot get the CA file, you can run a single command with TLS verification disabled:
>
> ```powershell theme={null}
> $env:NODE_TLS_REJECT_UNAUTHORIZED=0; silicon login https://app.meetsilicon.com
> ```
>
> This disables certificate verification for that shell session and is insecure -- use it only to confirm the issue is the corporate proxy, then set `NODE_EXTRA_CA_CERTS` for the real fix. Never bake this into scripts or CI.

### `silicon: command not found` in one terminal but works in another

Different terminals inside the same editor can use different shells (Git Bash, PowerShell, WSL, or the Cursor / VS Code agent sandbox), and each has its own `PATH`.

* Check where `silicon` actually lives: `where silicon` (PowerShell) or `which silicon` (Bash / WSL).
* If you installed with npm and its global bin isn't on `PATH`, add it. Find it with `npm config get prefix`, then in PowerShell:

  ```powershell theme={null}
  [Environment]::SetEnvironmentVariable(
    "Path",
    $env:Path + ";C:\Users\<you>\AppData\Roaming\npm",
    "User"
  )
  ```
* Close **all** terminals (and the editor) and reopen so the new `PATH` takes effect.

### Interactive prompts (project picker, OAuth) don't work inside the Cursor/VS Code agent

The AI agent's built-in terminal is a non-interactive sandbox -- `silicon login` and the "select a project" arrow-key prompt from `silicon deploy` can hang or get skipped there.

Run these commands in a **regular terminal tab** (open one via the `+` icon in the terminal pane, not the agent chat), or in WSL / PowerShell directly:

```bash theme={null}
silicon login https://app.meetsilicon.com
silicon config set-project      # pick your project non-interactively later if needed
silicon deploy
```

### OAuth browser callback never completes

If clicking the OAuth link opens Silicon in the browser but the CLI keeps waiting:

* Your corporate proxy may be blocking the callback to `localhost`. Try again on a personal network / hotspot to confirm.
* Or use [token-based login](https://docs.meetsilicon.com/workflow/cli/authenticate.md#login) instead of OAuth -- it doesn't need a browser callback, which sidesteps most corporate-network OAuth issues.

### `No active Silicon project` after login

Login and project selection are separate steps. After `silicon login` succeeds, set the active project:

```bash theme={null}
silicon config set-project
```

Pick your project from the list, then re-run `silicon deploy`.

## Updating the Silicon CLI

### Update to the latest version

```bash Homebrew theme={null}
brew update
brew upgrade silicon
```

```bash npm theme={null}
npm update -g @meetsilicon/cli
```

### Update to a specific version

> [tab] Homebrew
>
> Homebrew doesn't support installing specific versions directly. To install a specific version, [download the binary](#download-binary-directly) for that release, or use npm.

> [tab] npm
>
> To update (or downgrade) to a specific version of the Silicon CLI, run:
>
> ```bash theme={null}
> npm install -g @meetsilicon/cli@VERSION_NUMBER
> ```
>
> Replace `VERSION_NUMBER` with the desired version. For example:
>
> ```bash theme={null}
> npm install -g @meetsilicon/cli@2.223.0
> ```

> [!NOTE]
>
> Your Silicon CLI version should match the version of Silicon you see in the UI (scroll to the bottom of your screen to find it). You can check your current CLI version by running `silicon --version`.

## Once you've installed the CLI tool, [you'll want to authenticate it](https://docs.meetsilicon.com/workflow/cli/authenticate.md)

[Check out the guide on authenticating your CLI tool ](https://docs.meetsilicon.com/workflow/cli/authenticate.md)(login and setup an active project).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.