TLDR: install nix
, run commands/start
, and everything will be auto installed
- Get WSL (Windows Subsystem for Linux) or WSL2
- If you're not familiar with WSL, I'd recommend watching a quick thing on it like this one
- Ubuntu 18.04 for WSL is preferred (same as in that linked video), but Ubuntu 20.04 or similar should work.
- WSL2 (just released August 2020) is needed if you want to use your GPU.
- Once WSL is installed (and you have a terminal logged into WSL) follow the Mac/Linux instructions below.
- (protip: use the VS Code terminal instead of CMD when accessing WSL)
- Install nix, more detailed guide here
- Just run the following in your console/terminal app
sudo apt-get update 2>/dev/null
- If you're on MacOS Big Sur
- see this tutorial
- If you're on MacOS Catalina, run:
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
- If you're not, run:
curl -L https://nixos.org/nix/install | bash
source $HOME/.nix-profile/etc/profile.d/nix.sh
- (may need to restart console/terminal)
- Just run the following in your console/terminal app
- Install
git
- (if you don't have git just run
nix-env -i git
)
- (if you don't have git just run
- Clone/Open the project
cd wherever-you-want-to-save-this-project
git clone https://github.com/*this-repo-url*
cd *this-repo*
- Actually run some code
- run
commands/start
to get into the project environment- Note: this will almost certainly take a while the first time because it will auto-install exact versions of everything:
node
,python
,ruby
, all modules for them, etc
- Note: this will almost certainly take a while the first time because it will auto-install exact versions of everything:
- run
project commands
to list the project commands
- run