This repository is meant to be run on Linux or Mac. In theory this should also work in
bash for Windows
, but I give you no guarantee.
The purpose for this repository is mainly to make my life with new machines/servers a whole lot easier, so that I have all my common scripts in use on all the machines, as well as the SSH-keys that I usually use, for enabling/disabling access from certain predefined machines with ease.
curl -s https://gitlab.com/kirbo/dotfiles/raw/master/grant-access-for-kirbo.sh | bash
git clone https://gitlab.com/kirbo/dotfiles.git
./dotfiles/install.sh
. ~/.bash_profile
install-nvm
To use version 8.15.1
use-node 8.15.1
To use version 10.15.3
use-node 10.15.3
To use version 0.12.8
use-node 0.12.8
Note that the command use-node
also switched npm
and yarn
for the latest version for
the version of node
you wanted to switch to. This command will also re-install all
the global packages you have installed, with the node version you wanted to use, so
in theory you shouldn't have to do anything manually, just run the command as shown above
and you should be good to go. If you run into any problems, refer to nvm
usage.
reload-terminal
update-dotfiles
To enable .ssh/keys/MBP2018.pub
in [email protected]
, run command:
remote-enable-key MBP2018 [email protected]