Skip to content

Instantly share code, notes, and snippets.

@UDXS
Created July 29, 2018 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UDXS/c3a2b1b37adc170352d0226e092b5967 to your computer and use it in GitHub Desktop.
Save UDXS/c3a2b1b37adc170352d0226e092b5967 to your computer and use it in GitHub Desktop.
Install Noble
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm i 9
npm i -g npm
n=$(which node); \
n=${n%/bin/node}; \
chmod -R 755 $n/bin/*; \
sudo cp -r $n/{bin,lib,share} /usr/local
mkdir ~/Documents/uBitSSDP
cd ~/Documents/uBitSSDP
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm i noble --unsafe-perm
echo Memes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment