export VERSION=1.12 OS=linux ARCH=amd64 && \
# Replace the values as needed wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \
# Downloads the required Go package sudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz && \
# Extracts the archive rm go$VERSION.$OS-$ARCH.tar.gz
# Deletes the ``tar`` file# Set the Environment variable PATH to point to Go
echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc && \
source ~/.bashrc
Please tell me you are kidding. This is literally what you posted on how to update go.How would you compare this to say "rustup update"?
How would one do this this same workflow you posted on other platforms?
How memorable is it would you say?
Can you do it freehand without looking it up?
Is this considered good UX for developers?
Looking forward to your answers here, thanks.