From 6cc597125f19ddc876c26b8b64e84e9d6c252552 Mon Sep 17 00:00:00 2001 From: swapnil nair <155532058+swapnil-aurva@users.noreply.github.com> Date: Wed, 21 Jan 2026 13:34:54 +0530 Subject: [PATCH] Add quick install and update installation instructions to version 33.3 Updated installation instructions for protoc to version 33.3 and added quick install section. --- content/installation.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/content/installation.md b/content/installation.md index 4e1ddc909..434de80ef 100644 --- a/content/installation.md +++ b/content/installation.md @@ -23,7 +23,7 @@ binaries, follow these instructions: ```sh PB_REL="https://github.com/protocolbuffers/protobuf/releases" - curl -LO $PB_REL/download/v30.2/protoc-30.2-linux-x86_64.zip + curl -LO $PB_REL/download/v33.3/protoc-33.3-linux-x86_64.zip ``` @@ -31,7 +31,7 @@ binaries, follow these instructions: example: ```sh - unzip protoc-30.2-linux-x86_64.zip -d $HOME/.local + unzip protoc-33.3-linux-x86_64.zip -d $HOME/.local ``` 3. Update your environment's path variable to include the path to the `protoc` @@ -76,6 +76,15 @@ Linux, macOS, or Windows using the following commands. > winget install protobuf > protoc --version # Ensure compiler version is 3+ ``` + +### Quick install (current session only) +```sh +curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v33.3/protoc-33.3-linux-x86_64.zip && unzip protoc-33.3-linux-x86_64.zip -d $HOME/.local && export PATH="$PATH:$HOME/.local/bin" && rm protoc-33.3-linux-x86_64.zip +``` +Make it permanent by adding to your shell config: +- bash: `echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc` +- zsh: `echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.zshrc` +- fish: `fish_add_path $HOME/.local/bin` ### Other Installation Options {#other}