Following code worked to download latest devel release. I tested it several 
times and it has been merged to wandbox.
    
    
    curl -s https://api.github.com/repos/nim-lang/nightlies/releases | \
      grep -m 1 "\"browser_download_url\": 
\"https://github.com/nim-lang/nightlies/releases/download/\(.*\W\)\?devel\W.*-linux\.tar\.xz\""
 | \
      sed -E 's/.*"browser_download_url\": \"([^"]+)\"/\1/' | \
      wget -qi - -O nim.tar.xz
    
    Run

Here is a script to download and build nighly release Nim.

[https://github.com/melpon/wandbox-builder/blob/master/build/nim-head/install.sh](https://github.com/melpon/wandbox-builder/blob/master/build/nim-head/install.sh)

Reply via email to