You did remove the $ characters, in front of the opening round bracket. $( ... ) will run the command inside the round brackets in a subshell, its output will be rendered in place. In your case, it is used to dynamicly render OS and CPU architecture into the download url.