{"action":"created","issue":{"url":"https://api.github.com/repos/tj/n/issues/511","repository_url":"https://api.github.com/repos/tj/n","labels_url":"https://api.github.com/repos/tj/n/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/tj/n/issues/511/comments","events_url":"https://api.github.com/repos/tj/n/issues/511/events","html_url":"https://github.com/tj/n/issues/511","id":331225229,"node_id":"MDU6SXNzdWUzMzEyMjUyMjk=","number":511,"title":"n now works on windows 10 (using windows subsystem for linux)","user":{"login":"saraf","id":117493,"node_id":"MDQ6VXNlcjExNzQ5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/117493?v=4","gravatar_id":"","url":"https://api.github.com/users/saraf","html_url":"https://github.com/saraf","followers_url":"https://api.github.com/users/saraf/followers","following_url":"https://api.github.com/users/saraf/following{/other_user}","gists_url":"https://api.github.com/users/saraf/gists{/gist_id}","starred_url":"https://api.github.com/users/saraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saraf/subscriptions","organizations_url":"https://api.github.com/users/saraf/orgs","repos_url":"https://api.github.com/users/saraf/repos","events_url":"https://api.github.com/users/saraf/events{/privacy}","received_events_url":"https://api.github.com/users/saraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-11T14:56:45Z","updated_at":"2018-07-23T18:40:41Z","closed_at":null,"author_association":"NONE","body":"# n now works on Windows 10 (Windows Subsystem For Linux):\r\n\r\nIf enough people find that this works for them, the docs / README.md could be changed to reflect this.\r\n\r\n### Windows version\r\n\r\n_Windows 10 Home, Version\t10.0.17134 Build 17134_\r\n\r\n### Version of N\r\n_n --version output: 2.1.11_\r\n\r\n### How I installed N\r\nStart up windows subsystem for linux bash prompt by typing Win key followed by `wsl`\r\nThen, install using the following sequence:\r\n\r\n    sudo apt-get install nodejs-legacy\r\n    sudo apt-get install npm\r\n    sudo npm install -g n\r\n    sudo n lts\r\n    sudo npm install npm@lts -g\r\n    sudo chown -R $USER:$(id -gn $USER) /home/aal/.config\r\n\r\nIMPORTANT NOTE:\r\n\r\n - change the name in the path when using the `chown` command above to reflect your home directory in WSL.\r\n - Then, exit the shell and start it up again.\r\n\r\nAfter restarting the WSL bash window:\r\n\r\n    $ node --version\r\n      v8.11.2\r\n    $ npm --version\r\n      5.6.0\r\n\r\nTried installing other node versions, using \r\n\r\n    sudo n install latest\r\n\r\nAnd got:\r\n\r\n    $ node --version\r\n    v10.4.0\r\n    $ npm --version\r\n    6.1.0\r\n"},"comment":{"url":"https://api.github.com/repos/tj/n/issues/comments/407159725","html_url":"https://github.com/tj/n/issues/511#issuecomment-407159725","issue_url":"https://api.github.com/repos/tj/n/issues/511","id":407159725,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzE1OTcyNQ==","user":{"login":"jamieweavis","id":8133259,"node_id":"MDQ6VXNlcjgxMzMyNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/8133259?v=4","gravatar_id":"","url":"https://api.github.com/users/jamieweavis","html_url":"https://github.com/jamieweavis","followers_url":"https://api.github.com/users/jamieweavis/followers","following_url":"https://api.github.com/users/jamieweavis/following{/other_user}","gists_url":"https://api.github.com/users/jamieweavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamieweavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamieweavis/subscriptions","organizations_url":"https://api.github.com/users/jamieweavis/orgs","repos_url":"https://api.github.com/users/jamieweavis/repos","events_url":"https://api.github.com/users/jamieweavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamieweavis/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T18:40:41Z","updated_at":"2018-07-23T18:40:41Z","author_association":"NONE","body":"> Tried installing other node versions, using\r\n> \r\n> `sudo n install latest`\r\n\r\nShould be `sudo n latest`.\r\n\r\nI can confirm that this is working on the latest version of Windows 10 Pro! 🎉  \r\n\r\n_Windows 10 Pro version 1803 build 17134.165_"}}
{"actor":{"display_login":"jamieweavis"}}