You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echoerr "This installer is only supported on Linux and macOS"
26
+
exit 1
27
+
fi
20
28
21
-
CYAN='\033[0;36m'
22
-
END_ESCAPE='\033[0m'
29
+
ARCH="\$(uname -m)"
30
+
if [ "\$ARCH" == "x86_64" ]; then
31
+
ARCH=x64
32
+
elif [[ "\$ARCH" == aarch* ]]; then
33
+
ARCH=arm
34
+
elif [[ "\$ARCH" == "arm64" ]]; then
35
+
ARCH=arm64
36
+
else
37
+
echoerr "unsupported arch: \$ARCH"
38
+
exit 1
39
+
fi
23
40
24
-
printf"${CYAN}\n🎉 %s 🎉\n%s${END_ESCAPE}\n""Successfully installed Codify beta. Type codify --help for a list of commands.""Visit the documentation at https://docs.codifycli.com for more info."
41
+
if [[ ! ":$PATH:" == *":/usr/local/bin:"* ]]; then
42
+
echoerr "Your path is missing /usr/local/bin, you need to add this to use this installer."
printf"${CYAN}\n🎉 %s 🎉\n%s${END_ESCAPE}\n""Successfully installed Codify. Type codify --help for a list of commands.""Visit the documentation at https://docs.codifycli.com for more info."
echoerr "This installer is only supported on Linux and macOS"
26
+
exit 1
27
+
fi
20
28
21
-
CYAN='\033[0;36m'
22
-
END_ESCAPE='\033[0m'
29
+
ARCH="\$(uname -m)"
30
+
if [ "\$ARCH" == "x86_64" ]; then
31
+
ARCH=x64
32
+
elif [[ "\$ARCH" == aarch* ]]; then
33
+
ARCH=arm
34
+
elif [[ "\$ARCH" == "arm64" ]]; then
35
+
ARCH=arm64
36
+
else
37
+
echoerr "unsupported arch: \$ARCH"
38
+
exit 1
39
+
fi
23
40
24
-
printf"${CYAN}\n🎉 %s 🎉\n%s${END_ESCAPE}\n""Successfully installed Codify. Type codify --help for a list of commands.""Visit the documentation at https://docs.codifycli.com for more info."
41
+
if [[ ! ":$PATH:" == *":/usr/local/bin:"* ]]; then
42
+
echoerr "Your path is missing /usr/local/bin, you need to add this to use this installer."
printf"${CYAN}\n🎉 %s 🎉\n%s${END_ESCAPE}\n""Successfully installed Codify. Type codify --help for a list of commands.""Visit the documentation at https://docs.codifycli.com for more info."
0 commit comments