Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Last active December 28, 2018 22:24

Revisions

  1. nolanlawson revised this gist Jul 27, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Git/Bash/Node/npm on Windows
    ====

    **Update:** there's an easier way to do this. Check out [my new gist](https://gist.github.com/nolanlawson/43d01a5fb4c94b62e43edac31d8c4c69) instead.
    _**Update:** there's an easier way to do this. Check out [my new gist](https://gist.github.com/nolanlawson/43d01a5fb4c94b62e43edac31d8c4c69) instead._

    How I set up my Windows 10 machine for Node development. Time to complete: about 2 hours on a fast connection.

  2. nolanlawson revised this gist Jul 27, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    Git/Bash/Node/npm on Windows
    ====

    **Update:** there's an easier way to do this. Check out [my new gist](https://gist.github.com/nolanlawson/43d01a5fb4c94b62e43edac31d8c4c69) instead.

    How I set up my Windows 10 machine for Node development. Time to complete: about 2 hours on a fast connection.

    ### Requirements
  3. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ How I set up my Windows 10 machine for Node development. Time to complete: about
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your global environment variable to have `;C:\Python27\;C:\Python27\Scripts` at the end
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**). _Edit from [@mattpodwysocki](https://github.com/mattpodwysocki): you should be able to get by with just [Visual C++ standalone](http://landinghub.visualstudio.com/visual-cpp-build-tools)._
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**). _Edit from [@mattpodwysocki](https://twitter.com/mattpodwysocki/status/743214960658939904): you should be able to get by with just [Visual C++ standalone](http://landinghub.visualstudio.com/visual-cpp-build-tools)._

    ### Make sure it works

  4. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ How I set up my Windows 10 machine for Node development. Time to complete: about
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your global environment variable to have `;C:\Python27\;C:\Python27\Scripts` at the end
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**). _Edit from @mattpodwysocki: you should be able to get by with just [Visual C++ standalone](http://landinghub.visualstudio.com/visual-cpp-build-tools).
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**). _Edit from [@mattpodwysocki](https://github.com/mattpodwysocki): you should be able to get by with just [Visual C++ standalone](http://landinghub.visualstudio.com/visual-cpp-build-tools)._

    ### Make sure it works

  5. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ How I set up my Windows 10 machine for Node development. Time to complete: about
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your global environment variable to have `;C:\Python27\;C:\Python27\Scripts` at the end
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**). _Edit from @mattpodwysocki: you should be able to get by with just [Visual C++ standalone](http://landinghub.visualstudio.com/visual-cpp-build-tools).

    ### Make sure it works

  6. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,15 @@ How I set up my Windows 10 machine for Node development. Time to complete: about
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)

    ### Make sure it works

    mkdir test
    cd test
    npm init -y
    npm install --save leveldown sqlite3 phantomjs-prebuilt browserify watchify webpack react

    The above will install a bunch of popular modules, including a few native ones. If anything fails, you'll know.

    ### Gotchas

    - Don't skip "Visual C++" when installing Visual Studio.
  7. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Git/Bash/Node/npm on Windows
    ====

    How I set up my Windows 10 machine for Node development.
    How I set up my Windows 10 machine for Node development. Time to complete: about 2 hours on a fast connection.

    ### Requirements

  8. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    Git/Bash/Node/npm on Windows
    ====

    How I set up my Windows 10 machine for Node development.

    ### Requirements

    * Bash, not Windows shell
    @@ -17,6 +19,11 @@ Git/Bash/Node/npm on Windows
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)

    ### Gotchas

    - Don't skip "Visual C++" when installing Visual Studio.
    - Restart Cmder after you change anything, or you might not see the changes.

    <!--
    7. Run `npm config set msvs_version 2013 --global`
  9. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ Git/Bash/Node/npm on Windows
    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    4. Modify your global environment variable to have `;C:\Python27\;C:\Python27\Scripts` at the end
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)

  10. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,10 @@ Git/Bash/Node/npm on Windows
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)

    <!--
    7. Run `npm config set msvs_version 2013 --global`
    7. Install [MS Build Tools 2013](https://www.microsoft.com/en-US/download/details.aspx?id=40760)
    7. Install [MS Build Tools 2013](https://www.microsoft.com/en-US/download/details.aspx?id=40760)
    -->
  11. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,6 @@ Git/Bash/Node/npm on Windows
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up, choose "custom" and check the "Common Tools for Visual C++ 2015" option, under "Programming Languages" > "Visual C++" (**DO NOT SKIP THIS STEP**)
    7. Run `npm config set msvs_version 2013 --global`
    7. Install [MS Build Tools 2013](https://www.microsoft.com/en-US/download/details.aspx?id=40760)
  12. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,6 @@ Git/Bash/Node/npm on Windows
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    6. Download [Visual Studio](https://www.visualstudio.com)
    6. Download [Visual Studio](https://www.visualstudio.com), install and set it up
    7. Run `npm config set msvs_version 2013 --global`
    7. Install [MS Build Tools 2013](https://www.microsoft.com/en-US/download/details.aspx?id=40760)
  13. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,4 @@ Git/Bash/Node/npm on Windows
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)

    <!--
    5. Download [Visual Studio](https://www.visualstudio.com)
    -->
    6. Download [Visual Studio](https://www.visualstudio.com)
  14. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,7 @@ Git/Bash/Node/npm on Windows
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    <!-- 5. Download [Visual Studio](https://www.visualstudio.com) -->

    <!--
    5. Download [Visual Studio](https://www.visualstudio.com)
    -->
  15. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -14,5 +14,5 @@ Git/Bash/Node/npm on Windows
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)`
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)
    <!-- 5. Download [Visual Studio](https://www.visualstudio.com) -->
  16. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -13,5 +13,6 @@ Git/Bash/Node/npm on Windows
    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts`
    5. Download [Visual Studio](https://www.visualstudio.com)
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts
    5. Download [Windows SDK for Windows 8.1](https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk)`
    <!-- 5. Download [Visual Studio](https://www.visualstudio.com) -->
  17. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    Git/Bash/Node/npm on Windows
    ====

    Requirements:
    ### Requirements

    * Bash, not Windows shell
    * Git
    * Node/npm
    * nvm or equivalent (need to be able to switch Node versions easily)

    Steps:
    ### Steps

    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
  18. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,8 @@ Requirements:
    * Node/npm
    * nvm or equivalent (need to be able to switch Node versions easily)

    Steps:

    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
    3. Download [Python](python.org/), get 2.x instead of 3.x
  19. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -3,10 +3,10 @@ Git/Bash/Node/npm on Windows

    Requirements:

    - Bash, not Windows shell
    - Git
    - Node/npm
    - nvm or equivalent (need to be able to switch Node versions easily)
    * Bash, not Windows shell
    * Git
    * Node/npm
    * nvm or equivalent (need to be able to switch Node versions easily)

    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
  20. nolanlawson revised this gist Jun 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Requirements:
    - Bash, not Windows shell
    - Git
    - Node/npm
    - nvm or equivalent – I need to be able to switch between Node versions easily
    - nvm or equivalent (need to be able to switch Node versions easily)

    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
  21. nolanlawson created this gist Jun 15, 2016.
    15 changes: 15 additions & 0 deletions windows.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    Git/Bash/Node/npm on Windows
    ====

    Requirements:

    - Bash, not Windows shell
    - Git
    - Node/npm
    - nvm or equivalent – I need to be able to switch between Node versions easily

    1. Download [cmder](https://github.com/cmderdev/cmder)
    2. Download [Nodist](https://github.com/marcelklehr/nodist)
    3. Download [Python](python.org/), get 2.x instead of 3.x
    4. Modify your env variable to have `;C:\Python27\;C:\Python27\Scripts`
    5. Download [Visual Studio](https://www.visualstudio.com)