I’m using MacBook Pro with intel processor. First time to install IC SDK. Tried many times, always failed. Pls help.
lz@bogon ~ % dfx --version
zsh: command not found: dfx
lz@bogon ~ % node -v
v22.11.0
lz@bogon ~ % brew -v
Homebrew 4.4.9
lz@bogon ~ % npm -v
10.9.0
Quite a few ISPs (e.g. the Jio in India) mess with or outright block raw.githubusercontent.com
. Can you try using a VPN?
I’ve been using the VPN. I’m in Beijing.
I can fetch the content of manifest.json by putting the link “https…githubusercontent…com…/dfinity…sdk…public-manifest…manifest.json” into my Chrome:
{
“tags”: {
“latest”: “0.24.3”
},
“versions”: [
“0.5.0”,
“0.5.2”,
“0.5.3”,
“0.5.4”,
…
“0.24.0”,
“0.24.1”,
“0.24.2”,
“0.24.3”
]
}
Is it possible to install IC SDK by designating the version?
I tried "DFX_VERSION=0.24.3 sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)"
and failed.
Yes, specifying the version should work
Severin,
Without dfx installation, DFX_VERSION=0.24.3 is not accepted.
is it possible for install.sh providing an interface with parameter like version=0.24.3 ?
i.e.
is the following workable for IC SDK installation? if yes, the flexibility would be great support.
sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh version=0.24.3)"
1 Use a VPN.
If both ping github.com
and ping raw.githubusercontent.com
work well, it is possible that the next step is not needed.
2 Use Google public DNS(8.8.4.4 or 8.8.8.8) or cloudflare DNS(1.1.1.1). (refer to https://stackoverflow.com/questions/74794022/curl-28-failed-to-connect-to-raw-githubusercontent-com-port-443-connection-t/74820433#74820433
)
Check both ping github.com
and ping raw.githubusercontent.com
work well.
I successfully installed the latest IC SDK 0.24.3.
Thank anyone who provided help and support