Skip to content

Commit dee1e97

Browse files
committed
use choosenim from official nim-lang
1 parent d271481 commit dee1e97

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

install-nim.sh

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
#!/bin/bash
22

3-
os_type=$(uname)
4-
5-
if [[ "$os_type" == "Darwin" ]]; then
6-
brew install nim
7-
elif [[ "$os_type" == "Linux" ]]; then
8-
apt-get install nim
9-
else
10-
echo "This is not a Mac or Linux system."
11-
exit
12-
fi
13-
3+
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
4+
choosenim 2.0.8
145
nimble install nimpy

0 commit comments

Comments
 (0)