-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpostBuild
33 lines (31 loc) · 992 Bytes
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
set -ex
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Following Brew's instructions
echo 'eval $(/home/jovyan/.linuxbrew/bin/brew shellenv)' >> /home/jovyan/.profile
eval $(/home/jovyan/.linuxbrew/bin/brew shellenv)
brew tap linuxbrew/xorg
brew install gcc
# Let's install rust
#brew install rustup
#rustup-init
# Use Brew to install NuShell
#brew install nushell
#curl https://sh.rustup.rs -sSf | sh -- -y
curl https://sh.rustup.rs -sSf > ~/rustup-init.sh
chmod +x ~/rustup-init.sh
~/rustup-init.sh -y
source $HOME/.cargo/env
# Rustup
rustc --version
# Install NuShell with Cargo
#cargo install nu --features=stable
#cargo install nu --features=average,fetch,inc,match,post,ps,start,str,sys,textview,tree
cargo install nu
# Pull tree
git clone https://github.com/fdncred/nu_jupyter.git
cd nu_jupyter
# Install NuShell kernelspec
#python setup.py bdist_egg
jupyter kernelspec install ../nu_jupyter --user