We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0238d1e commit 8dc7de1Copy full SHA for 8dc7de1
templates/cli/install.sh.twig
@@ -64,6 +64,11 @@ getSystemInfo() {
64
if [ "$OS" == "linux" ] && [ "${{ spec.title | upper }}_INSTALL_DIR" == "/usr/local/bin" ]; then
65
USE_SUDO="true"
66
fi
67
+
68
+ # Need root access if its Apple Silicon
69
+ if [ "$OS" == "darwin" ] && [[ "$(uname -a)" = *ARM64* ]]; then
70
+ USE_SUDO="true"
71
+ fi
72
73
printf "${GREEN}\nOS : $OS \nARCH : $ARCH \nREQUIRES ROOT : $USE_SUDO\n\n${NC}"
74
}
0 commit comments